diff options
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/test')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/test/CommandsSendToServerLogger.kt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/test/CommandsSendToServerLogger.kt b/src/main/java/at/hannibal2/skyhanni/test/CommandsSendToServerLogger.kt new file mode 100644 index 000000000..d7403c626 --- /dev/null +++ b/src/main/java/at/hannibal2/skyhanni/test/CommandsSendToServerLogger.kt @@ -0,0 +1,13 @@ +package at.hannibal2.skyhanni.test + +import at.hannibal2.skyhanni.SkyHanniMod + +class CommandsSendToServerLogger { + companion object { + fun logCommandsToServer(command: String) { + if (SkyHanniMod.feature.dev.commandLogs) { + Exception("command send to server: '$command'").printStackTrace() + } + } + } +}
\ No newline at end of file |