diff options
Diffstat (limited to 'src/main/kotlin/tech/thatgravyboat/rewardclaim/Command.kt')
-rw-r--r-- | src/main/kotlin/tech/thatgravyboat/rewardclaim/Command.kt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/kotlin/tech/thatgravyboat/rewardclaim/Command.kt b/src/main/kotlin/tech/thatgravyboat/rewardclaim/Command.kt index ac1f087..97cc75a 100644 --- a/src/main/kotlin/tech/thatgravyboat/rewardclaim/Command.kt +++ b/src/main/kotlin/tech/thatgravyboat/rewardclaim/Command.kt @@ -3,6 +3,7 @@ package tech.thatgravyboat.rewardclaim import gg.essential.api.EssentialAPI import gg.essential.api.commands.Command import gg.essential.api.commands.DefaultHandler +import gg.essential.api.commands.SubCommand class Command : Command("rewardclaim") { @@ -10,4 +11,9 @@ class Command : Command("rewardclaim") { fun handle() { EssentialAPI.getGuiUtil().openScreen(Config.gui()) } + + @SubCommand("debug", description = "Toggles debug mode, do not turn this unless told otherwise by a dev.") + fun debugMode() { + RewardClaim.debugMode = !RewardClaim.debugMode + } } |