diff --git a/src/main/java/baritone/behavior/InventoryBehavior.java b/src/main/java/baritone/behavior/InventoryBehavior.java index 70e5997a..120bc748 100644 --- a/src/main/java/baritone/behavior/InventoryBehavior.java +++ b/src/main/java/baritone/behavior/InventoryBehavior.java @@ -122,7 +122,7 @@ public class InventoryBehavior extends Behavior { } public boolean hasGenericThrowaway() { - for (Item item : Baritone.settings().acceptableThrowawayItems.get()) { + for (Item item : Baritone.settings().acceptableThrowawayItems.value) { if (throwaway(false, item::equals)) { return true; } @@ -135,7 +135,7 @@ public class InventoryBehavior extends Behavior { if (maybe != null && throwaway(true, item -> item instanceof ItemBlock && ((ItemBlock) item).getBlock().equals(maybe.getBlock()))) { return true; // gotem } - for (Item item : Baritone.settings().acceptableThrowawayItems.get()) { + for (Item item : Baritone.settings().acceptableThrowawayItems.value) { if (throwaway(true, item::equals)) { return true; } diff --git a/src/main/java/baritone/process/BuilderProcess.java b/src/main/java/baritone/process/BuilderProcess.java index 6c8099f9..09ca3460 100644 --- a/src/main/java/baritone/process/BuilderProcess.java +++ b/src/main/java/baritone/process/BuilderProcess.java @@ -57,7 +57,7 @@ import static baritone.api.pathing.movement.ActionCosts.COST_INF; public class BuilderProcess extends BaritoneProcessHelper implements IBuilderProcess { public BuilderProcess(Baritone baritone) { - super(baritone, 0); + super(baritone); } private HashSet incorrectPositions; @@ -329,7 +329,7 @@ public class BuilderProcess extends BaritoneProcessHelper implements IBuilderPro } List approxPlacable = placable(36); - if (Baritone.settings().allowInventory.get()) { + if (Baritone.settings().allowInventory.value) { ArrayList usefulSlots = new ArrayList<>(); List noValidHotbarOption = new ArrayList<>(); outer: diff --git a/src/main/java/baritone/utils/GuiClickMeme.java b/src/main/java/baritone/utils/GuiClickMeme.java index 13847154..50a2d245 100644 --- a/src/main/java/baritone/utils/GuiClickMeme.java +++ b/src/main/java/baritone/utils/GuiClickMeme.java @@ -115,7 +115,7 @@ public class GuiClickMeme extends GuiScreen { GlStateManager.enableBlend(); GlStateManager.tryBlendFuncSeparate(770, 771, 1, 0); GlStateManager.color(Color.RED.getColorComponents(null)[0], Color.RED.getColorComponents(null)[1], Color.RED.getColorComponents(null)[2], 0.4F); - GlStateManager.glLineWidth(Baritone.settings().pathRenderLineWidthPixels.get()); + GlStateManager.glLineWidth(Baritone.settings().pathRenderLineWidthPixels.value); GlStateManager.disableTexture2D(); GlStateManager.depthMask(false); GlStateManager.disableDepth();