1
0
mirror of https://github.com/cabaletta/baritone synced 2024-12-23 23:43:10 +00:00

not anymore

This commit is contained in:
Leijurv 2019-01-11 13:02:03 -08:00
parent 5f29bb3e7f
commit 09e94eaa8e
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -75,7 +75,6 @@ public class CalculationContext {
this.world = baritone.getPlayerContext().world();
this.worldData = (WorldData) baritone.getWorldProvider().getCurrentWorld();
this.bsi = new BlockStateInterface(world, worldData, forUseOnAnotherThread); // TODO TODO TODO
// new CalculationContext() needs to happen, can't add an argument (i'll beat you), can we get the world provider from currentlyTicking?
this.toolSet = new ToolSet(player);
this.hasThrowaway = Baritone.settings().allowPlace.get() && MovementHelper.throwaway(baritone.getPlayerContext(), false);
this.hasWaterBucket = Baritone.settings().allowWaterBucketFall.get() && InventoryPlayer.isHotbar(player.inventory.getSlotFor(STACK_BUCKET_WATER)) && !world.provider.isNether();