This commit is contained in:
Bella 2020-02-21 15:15:34 -05:00
parent 0a1525462b
commit 6a3ff906c8
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ public class AutoTotem extends Module {
boolean moving = false; boolean moving = false;
boolean returnI = false; boolean returnI = false;
private Setting<Boolean> force = register(Settings.b("Replace Offhand", false)); private Setting<Boolean> force = register(Settings.b("Replace Offhand", false));
private Setting<Boolean> inv = register(Settings.b("Inventory", true)); private Setting<Boolean> inv = register(Settings.booleanBuilder("Inventory").withValue(true).withVisibility(v -> !force.getValue()).build());
@Override @Override
public void onUpdate() { public void onUpdate() {