From ef5e3ab06e5c90349bf5d8a53e25e529a4779982 Mon Sep 17 00:00:00 2001 From: Brady Date: Tue, 13 Nov 2018 13:39:11 -0600 Subject: [PATCH] pwnage --- src/main/java/baritone/utils/player/AbstractPlayerContext.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/baritone/utils/player/AbstractPlayerContext.java b/src/main/java/baritone/utils/player/AbstractPlayerContext.java index 88d6d6be..252c30a3 100644 --- a/src/main/java/baritone/utils/player/AbstractPlayerContext.java +++ b/src/main/java/baritone/utils/player/AbstractPlayerContext.java @@ -19,7 +19,6 @@ package baritone.utils.player; import baritone.api.utils.BetterBlockPos; import baritone.api.utils.IPlayerContext; -import baritone.utils.BlockStateInterface; import net.minecraft.block.BlockSlab; /** @@ -32,7 +31,7 @@ public abstract class AbstractPlayerContext implements IPlayerContext { public BetterBlockPos playerFeet() { // TODO find a better way to deal with soul sand!!!!! BetterBlockPos feet = new BetterBlockPos(player().posX, player().posY + 0.1251, player().posZ); - if (BlockStateInterface.get(feet).getBlock() instanceof BlockSlab) { + if (world().getBlockState(feet).getBlock() instanceof BlockSlab) { return feet.up(); } return feet;