This commit is contained in:
Leijurv
2018-08-01 11:38:46 -04:00
parent f559e45f9c
commit 38a7b72570
18 changed files with 76 additions and 380 deletions

View File

@@ -112,7 +112,7 @@ public class Path {
return best;
}
public void calculatePathPosition() {
BlockPos playerFeet = Minecraft.getMinecraft().player.getPosition0();
BlockPos playerFeet = Baritone.playerFeet;
for (int i = 0; i < path.size(); i++) {
if (playerFeet.equals(path.get(i))) {
pathPosition = i;