This commit is contained in:
Leijurv
2018-08-01 15:25:59 -04:00
parent c68367b865
commit 93856c2832
6 changed files with 8 additions and 8 deletions

View File

@@ -271,7 +271,7 @@ public class Baritone {
}
public static boolean isAir(BlockPos pos) {
return Baritone.get(pos).getBlock().equals(Block.getBlockById(0));
return Baritone.get(pos).getBlock().equals(Blocks.AIR);
}
public static void findPathInNewThread(final boolean talkAboutIt) {
@@ -385,7 +385,7 @@ public class Baritone {
return;
}
IBlockState state = Baritone.get(pos);
if (state.getBlock().equals(Block.getBlockById(0))) {
if (state.getBlock().equals(Blocks.AIR)) {
return;
}
switchtotool(state);