diff options
Diffstat (limited to 'src/main/java/at')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt | 4 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/test/SkyHanniTestCommand.kt | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt index ab94a1e6d..b87961a2c 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt +++ b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt @@ -179,6 +179,10 @@ object Commands { "Prints debug data in the clipboard" ) { SkyHanniTestCommand.debugData(it) } registerCommand( + "shversion", + "Prints the SkyHanni version in the chat" + ) { SkyHanniTestCommand.debugVersion() } + registerCommand( "shcarrot", "Toggles receiving the 12 fortune from carrots" ) { CaptureFarmingGear.reverseCarrotFortune() } diff --git a/src/main/java/at/hannibal2/skyhanni/test/SkyHanniTestCommand.kt b/src/main/java/at/hannibal2/skyhanni/test/SkyHanniTestCommand.kt index 8cbc28855..63bc5f471 100644 --- a/src/main/java/at/hannibal2/skyhanni/test/SkyHanniTestCommand.kt +++ b/src/main/java/at/hannibal2/skyhanni/test/SkyHanniTestCommand.kt @@ -178,6 +178,10 @@ class SkyHanniTestCommand { OSUtils.copyToClipboard("LorenzVec($x, $y, $z)") } + fun debugVersion() { + LorenzUtils.chat("§eYou are using SkyHanni ${SkyHanniMod.version}") + } + fun debugData(args: Array<String>) { if (args.size == 2) { if (args[0] == "profileName") { |