except what if it compiled

This commit is contained in:
Leijurv 2019-03-11 23:29:39 -07:00
parent 7974d9135b
commit ba31d209c9
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A
3 changed files with 5 additions and 5 deletions

View File

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

View File

@ -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<BetterBlockPos> incorrectPositions;
@ -329,7 +329,7 @@ public class BuilderProcess extends BaritoneProcessHelper implements IBuilderPro
}
List<IBlockState> approxPlacable = placable(36);
if (Baritone.settings().allowInventory.get()) {
if (Baritone.settings().allowInventory.value) {
ArrayList<Integer> usefulSlots = new ArrayList<>();
List<IBlockState> noValidHotbarOption = new ArrayList<>();
outer:

View File

@ -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();