shouldnt be needed actually

This commit is contained in:
Leijurv 2019-01-09 15:13:48 -08:00
parent fbcae10f96
commit 7d572d748b
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A
1 changed files with 1 additions and 2 deletions

View File

@ -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