forked from RepoMirrors/baritone
Fix Pathing Thread crash on Forge
This commit is contained in:
parent
c1076461e2
commit
2f7259714a
|
@ -179,7 +179,7 @@ public interface MovementHelper extends ActionCosts, Helper {
|
|||
BlockDoublePlant.EnumPlantType kek = state.getValue(BlockDoublePlant.VARIANT);
|
||||
return kek == BlockDoublePlant.EnumPlantType.FERN || kek == BlockDoublePlant.EnumPlantType.GRASS;
|
||||
}
|
||||
return state.getBlock().isReplaceable(null, null);
|
||||
return state.getMaterial().isReplaceable();
|
||||
}
|
||||
|
||||
static boolean isDoorPassable(BlockPos doorPos, BlockPos playerPos) {
|
||||
|
|
Loading…
Reference in New Issue