1
0
mirror of https://github.com/cabaletta/baritone synced 2024-12-24 07:52:54 +00:00

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

View File

@ -43,7 +43,6 @@ public class CalculationContext {
private static final ItemStack STACK_BUCKET_WATER = new ItemStack(Items.WATER_BUCKET); private static final ItemStack STACK_BUCKET_WATER = new ItemStack(Items.WATER_BUCKET);
public final IBaritone baritone; public final IBaritone baritone;
public final EntityPlayerSP player;
public final World world; public final World world;
public final WorldData worldData; public final WorldData worldData;
public final BlockStateInterface bsi; public final BlockStateInterface bsi;
@ -72,7 +71,7 @@ public class CalculationContext {
public CalculationContext(IBaritone baritone, boolean forUseOnAnotherThread) { public CalculationContext(IBaritone baritone, boolean forUseOnAnotherThread) {
this.baritone = baritone; this.baritone = baritone;
this.player = baritone.getPlayerContext().player(); EntityPlayerSP player = baritone.getPlayerContext().player();
this.world = baritone.getPlayerContext().world(); this.world = baritone.getPlayerContext().world();
this.worldData = (WorldData) baritone.getWorldProvider().getCurrentWorld(); this.worldData = (WorldData) baritone.getWorldProvider().getCurrentWorld();
this.bsi = new BlockStateInterface(world, worldData, forUseOnAnotherThread); // TODO TODO TODO this.bsi = new BlockStateInterface(world, worldData, forUseOnAnotherThread); // TODO TODO TODO