aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config/commands
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-02-16 15:04:39 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-02-16 15:04:39 +0100
commitd887e8dd0e24c300722b859cab4222e29f32c83a (patch)
tree7a0bfd64517984c083d688a1b60231ca7a02cea1 /src/main/java/at/hannibal2/skyhanni/config/commands
parentf39532f554eb1b0f7171ed90ef81ea28fccf75be (diff)
downloadskyhanni-d887e8dd0e24c300722b859cab4222e29f32c83a.tar.gz
skyhanni-d887e8dd0e24c300722b859cab4222e29f32c83a.tar.bz2
skyhanni-d887e8dd0e24c300722b859cab4222e29f32c83a.zip
Moved packet test into own class.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/commands')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt3
1 files changed, 2 insertions, 1 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 510f66f0d..f7c89dc4d 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt
+++ b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt
@@ -10,6 +10,7 @@ import at.hannibal2.skyhanni.features.event.diana.BurrowWarpHelper
import at.hannibal2.skyhanni.features.misc.CollectionCounter
import at.hannibal2.skyhanni.features.misc.MarkedPlayerManager
import at.hannibal2.skyhanni.test.LorenzTest
+import at.hannibal2.skyhanni.test.PacketTest
import at.hannibal2.skyhanni.test.command.CopyItemCommand
import at.hannibal2.skyhanni.test.command.CopyNearbyEntitiesCommand
import net.minecraft.command.ICommandSender
@@ -38,7 +39,7 @@ object Commands {
registerCommand("copyitem") { CopyItemCommand.command(it) }
registerCommand("shconfigsave") { SkyHanniMod.configManager.saveConfig() }
registerCommand("shmarkplayer") { MarkedPlayerManager.command(it) }
- registerCommand("togglepacketlog") { LorenzTest.togglePacketLog() }
+ registerCommand("shtestpacket") { PacketTest.toggle() }
registerCommand("shreloadlisteners") { LorenzTest.reloadListeners() }
registerCommand("shstoplisteners") { LorenzTest.stopListeners() }
registerCommand("shresetburrowwarps") { BurrowWarpHelper.resetDisabledWarps() }