diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-04-26 13:21:30 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-04-26 13:21:30 +0200 |
commit | c630877d373f1e2313cd2fa78df7130dff3d7382 (patch) | |
tree | 0dab6d6f91268011ff84b49683586d707e08ffb7 /src/main/java/at/hannibal2/skyhanni/config/commands | |
parent | e098da87f159baa8fcab8435d9a89d4f7d738ffd (diff) | |
download | skyhanni-c630877d373f1e2313cd2fa78df7130dff3d7382.tar.gz skyhanni-c630877d373f1e2313cd2fa78df7130dff3d7382.tar.bz2 skyhanni-c630877d373f1e2313cd2fa78df7130dff3d7382.zip |
Added command /shclearcropspeed - Manually reset all crop speed data.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/commands')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt | 2 |
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 986ad0405..452b038e7 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt +++ b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt @@ -8,6 +8,7 @@ import at.hannibal2.skyhanni.data.GuiEditManager import at.hannibal2.skyhanni.features.bingo.BingoCardDisplay import at.hannibal2.skyhanni.features.bingo.BingoNextStepHelper import at.hannibal2.skyhanni.features.event.diana.BurrowWarpHelper +import at.hannibal2.skyhanni.features.garden.GardenAPI import at.hannibal2.skyhanni.features.garden.GardenCropTimeCommand import at.hannibal2.skyhanni.features.garden.composter.ComposterOverlay import at.hannibal2.skyhanni.features.garden.farming.CropSpeedMeter @@ -59,6 +60,7 @@ object Commands { registerCommand("shcropspeedmeter") { CropSpeedMeter.toggle() } registerCommand("shcroptime") { GardenCropTimeCommand.onCommand(it) } registerCommand("shtestcomposter") { ComposterOverlay.onCommand(it) } + registerCommand("shclearcropspeed") { GardenAPI.clearCropSpeed() } } private fun registerCommand(name: String, function: (Array<String>) -> Unit) { |