From 68ce012f201919b355b81acede1721786b0b5595 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Mon, 6 May 2024 21:51:29 +0200 Subject: shwords is a main command --- src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni/config') 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) } } -- cgit