diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-05-06 21:51:29 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-05-06 21:51:29 +0200 |
commit | 68ce012f201919b355b81acede1721786b0b5595 (patch) | |
tree | 2fe420b5de1ef08ea64f3de201ab5826603fb284 | |
parent | b8981541f20e3abaf94fa313abdf40a5f5769b86 (diff) | |
download | skyhanni-68ce012f201919b355b81acede1721786b0b5595.tar.gz skyhanni-68ce012f201919b355b81acede1721786b0b5595.tar.bz2 skyhanni-68ce012f201919b355b81acede1721786b0b5595.zip |
shwords is a main command
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt | 5 |
1 files changed, 2 insertions, 3 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 faca8636b..d3ab8daff 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt +++ b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt @@ -7,7 +7,6 @@ import at.hannibal2.skyhanni.config.ConfigGuiManager import at.hannibal2.skyhanni.config.features.About.UpdateStream import at.hannibal2.skyhanni.data.ChatClickActionManager import at.hannibal2.skyhanni.data.ChatManager -import at.hannibal2.skyhanni.data.GardenCropMilestones import at.hannibal2.skyhanni.data.GardenCropMilestonesCommunityFix import at.hannibal2.skyhanni.data.GuiEditManager import at.hannibal2.skyhanni.data.PartyAPI @@ -159,6 +158,7 @@ object Commands { it.getOrNull(0) ?: "null", it.getOrNull(1) ?: "null" ) }, DefaultConfigFeatures::onComplete) + registerCommand("shwords", "Opens the config list for modifying visual words") { openVisualWords() } } private fun usersNormal() { @@ -296,7 +296,7 @@ object Commands { "shcropgoal", "Define a custom milestone goal for a crop.", { - FarmingMilestoneCommand.setGoal(it.getOrNull(0), it.getOrNull(1)) + FarmingMilestoneCommand.setGoal(it.getOrNull(0), it.getOrNull(1)) }, FarmingMilestoneCommand::onComplete ) @@ -523,7 +523,6 @@ object Commands { } private fun internalCommands() { - registerCommand("shwords", "Opens the config list for modifying visual words") { openVisualWords() } registerCommand("shaction", "") { ChatClickActionManager.onCommand(it) } } |