Do edit suggested by leijurv

This commit is contained in:
scorbett123 2021-06-14 20:44:32 +01:00
parent f09f1e7f85
commit 64ba96daf2

View File

@ -153,7 +153,7 @@ public final class InventoryBehavior extends Behavior {
} }
public boolean throwaway(boolean select, Predicate<? super ItemStack> desired) { public boolean throwaway(boolean select, Predicate<? super ItemStack> desired) {
return throwaway(select, desired, BaritoneAPI.getSettings().allowInventory.value); return throwaway(select, desired, Baritone.settings().allowInventory.value);
} }
public boolean throwaway(boolean select, Predicate<? super ItemStack> desired, boolean allowInventory) { public boolean throwaway(boolean select, Predicate<? super ItemStack> desired, boolean allowInventory) {