diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2022-09-23 09:26:33 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2022-09-23 09:26:33 +0200 |
commit | d255ac60e823488e4227a8de4008de05a98c4a88 (patch) | |
tree | c65073a6f0937acd55418d30282c1a9991fbad3c /src/main/java/at/hannibal2/skyhanni/config/Features.java | |
parent | 6f5d20ea51e7c8603930b72991e417d8c4d0d9bc (diff) | |
download | skyhanni-d255ac60e823488e4227a8de4008de05a98c4a88.tar.gz skyhanni-d255ac60e823488e4227a8de4008de05a98c4a88.tar.bz2 skyhanni-d255ac60e823488e4227a8de4008de05a98c4a88.zip |
Added hide armor
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/Features.java')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/Features.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/Features.java b/src/main/java/at/hannibal2/skyhanni/config/Features.java index 3e5c4af7f..9fad399ec 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/Features.java +++ b/src/main/java/at/hannibal2/skyhanni/config/Features.java @@ -8,6 +8,7 @@ import at.hannibal2.skyhanni.config.core.config.Position; import at.hannibal2.skyhanni.config.core.config.annotations.Category; import at.hannibal2.skyhanni.config.core.config.gui.GuiPositionEditor; import at.hannibal2.skyhanni.config.features.*; +import at.hannibal2.skyhanni.features.HideArmor; import at.hannibal2.skyhanni.features.MarkedPlayerManager; import at.hannibal2.skyhanni.features.chat.playerchat.PlayerChatFormatter; import com.google.gson.annotations.Expose; @@ -101,6 +102,11 @@ public class Features extends Config { MarkedPlayerManager.toggleOwn(); return; } + + if (runnableId.equals("hideArmor")) { + HideArmor.Companion.updateArmor(); + return; + } } @Expose |