From 2f7259714ac218fac9bb06567b92d97d5da7e6e6 Mon Sep 17 00:00:00 2001 From: Brady Date: Sun, 14 Oct 2018 23:46:41 -0500 Subject: [PATCH] Fix Pathing Thread crash on Forge --- src/main/java/baritone/pathing/movement/MovementHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/baritone/pathing/movement/MovementHelper.java b/src/main/java/baritone/pathing/movement/MovementHelper.java index 200f8910..08d6f916 100644 --- a/src/main/java/baritone/pathing/movement/MovementHelper.java +++ b/src/main/java/baritone/pathing/movement/MovementHelper.java @@ -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) {