forked from RepoMirrors/kami-blue
close #122
This commit is contained in:
parent
0a1525462b
commit
6a3ff906c8
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue