From 6a3ff906c841955e8f61b9b6d3598cd6d0481683 Mon Sep 17 00:00:00 2001 From: Bella Date: Fri, 21 Feb 2020 15:15:34 -0500 Subject: [PATCH] close #122 --- .../me/zeroeightsix/kami/module/modules/combat/AutoTotem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/zeroeightsix/kami/module/modules/combat/AutoTotem.java b/src/main/java/me/zeroeightsix/kami/module/modules/combat/AutoTotem.java index cc9a4fd6..011e6e8c 100644 --- a/src/main/java/me/zeroeightsix/kami/module/modules/combat/AutoTotem.java +++ b/src/main/java/me/zeroeightsix/kami/module/modules/combat/AutoTotem.java @@ -19,7 +19,7 @@ public class AutoTotem extends Module { boolean moving = false; boolean returnI = false; private Setting force = register(Settings.b("Replace Offhand", false)); - private Setting inv = register(Settings.b("Inventory", true)); + private Setting inv = register(Settings.booleanBuilder("Inventory").withValue(true).withVisibility(v -> !force.getValue()).build()); @Override public void onUpdate() {