From 7d572d748b56362e7702b25206030bfc86f49bae Mon Sep 17 00:00:00 2001 From: Leijurv Date: Wed, 9 Jan 2019 15:13:48 -0800 Subject: [PATCH] shouldnt be needed actually --- .../java/baritone/pathing/movement/CalculationContext.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/baritone/pathing/movement/CalculationContext.java b/src/main/java/baritone/pathing/movement/CalculationContext.java index 725ab569..55933038 100644 --- a/src/main/java/baritone/pathing/movement/CalculationContext.java +++ b/src/main/java/baritone/pathing/movement/CalculationContext.java @@ -43,7 +43,6 @@ public class CalculationContext { private static final ItemStack STACK_BUCKET_WATER = new ItemStack(Items.WATER_BUCKET); public final IBaritone baritone; - public final EntityPlayerSP player; public final World world; public final WorldData worldData; public final BlockStateInterface bsi; @@ -72,7 +71,7 @@ public class CalculationContext { public CalculationContext(IBaritone baritone, boolean forUseOnAnotherThread) { this.baritone = baritone; - this.player = baritone.getPlayerContext().player(); + EntityPlayerSP player = baritone.getPlayerContext().player(); this.world = baritone.getPlayerContext().world(); this.worldData = (WorldData) baritone.getWorldProvider().getCurrentWorld(); this.bsi = new BlockStateInterface(world, worldData, forUseOnAnotherThread); // TODO TODO TODO