aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2022-09-17 10:43:06 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2022-09-17 10:43:06 +0200
commit38e2f6f1f857561ee8f16eb4668bb22a5f53cd39 (patch)
tree1645bc686a7f8f94cf88aa458cd9d760c95ef111 /src/main/java/at/hannibal2/skyhanni/config
parentb66cb82e81b2fa9446a37aba867e5725de0838ea (diff)
downloadSkyHanni-38e2f6f1f857561ee8f16eb4668bb22a5f53cd39.tar.gz
SkyHanni-38e2f6f1f857561ee8f16eb4668bb22a5f53cd39.tar.bz2
SkyHanni-38e2f6f1f857561ee8f16eb4668bb22a5f53cd39.zip
added debug command /shreloadlisteners
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/commands/Commands.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.java b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.java
index 3dd4a5262..460de1b7f 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.java
@@ -108,5 +108,15 @@ public class Commands {
}
)
);
+ ClientCommandHandler.instance.registerCommand(
+ new SimpleCommand(
+ "shreloadlisteners",
+ new SimpleCommand.ProcessCommandRunnable() {
+ public void processCommand(ICommandSender sender, String[] args) {
+ LorenzTest.Companion.reloadListeners();
+ }
+ }
+ )
+ );
}
}