aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config/commands
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-01-06 23:26:46 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-01-06 23:26:46 +0100
commitcab4689a096a1c150de3106e2089eb4d6c54b45b (patch)
tree929883dde1353daa400e0388e6df02081b855ac2 /src/main/java/at/hannibal2/skyhanni/config/commands
parent139a55b1c40ba5fa7eeae352cdde5034516a150d (diff)
downloadskyhanni-cab4689a096a1c150de3106e2089eb4d6c54b45b.tar.gz
skyhanni-cab4689a096a1c150de3106e2089eb4d6c54b45b.tar.bz2
skyhanni-cab4689a096a1c150de3106e2089eb4d6c54b45b.zip
Added /shtrackcollection.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/commands')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt2
1 files changed, 2 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 5d94d850c..e51f9d92c 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt
+++ b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt
@@ -4,6 +4,7 @@ import at.hannibal2.skyhanni.SkyHanniMod
import at.hannibal2.skyhanni.config.ConfigEditor
import at.hannibal2.skyhanni.config.commands.SimpleCommand.ProcessCommandRunnable
import at.hannibal2.skyhanni.config.core.GuiScreenElementWrapper
+import at.hannibal2.skyhanni.features.CollectionCounter
import at.hannibal2.skyhanni.features.MarkedPlayerManager
import at.hannibal2.skyhanni.features.event.diana.BurrowWarpHelper
import at.hannibal2.skyhanni.test.LorenzTest
@@ -37,6 +38,7 @@ object Commands {
registerCommand("togglepacketlog") { LorenzTest.togglePacketLog() }
registerCommand("shreloadlisteners") { LorenzTest.reloadListeners() }
registerCommand("shresetburrowwarps") { BurrowWarpHelper.resetDisabledWarps() }
+ registerCommand("shtrackcollection") { CollectionCounter.command(it) }
}
private fun registerCommand(name: String, function: (Array<String>) -> Unit) {