aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config/commands
diff options
context:
space:
mode:
authorDavid Cole <40234707+DavidArthurCole@users.noreply.github.com>2024-10-13 09:54:05 -0400
committerGitHub <noreply@github.com>2024-10-13 15:54:05 +0200
commite0ae2e8ad4602b3e96fb6ec39716709f225d2461 (patch)
treeb70ad5cec46af89dd0f05a61d39027a964c03693 /src/main/java/at/hannibal2/skyhanni/config/commands
parent113389a86c769d4d3a547fac5b7440fa8f29bc6f (diff)
downloadskyhanni-e0ae2e8ad4602b3e96fb6ec39716709f225d2461.tar.gz
skyhanni-e0ae2e8ad4602b3e96fb6ec39716709f225d2461.tar.bz2
skyhanni-e0ae2e8ad4602b3e96fb6ec39716709f225d2461.zip
Backend: Detekt Fixes Part 7 (#2667)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/commands')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt15
1 files changed, 9 insertions, 6 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 208beafe4..89f314135 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt
+++ b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt
@@ -174,8 +174,8 @@ object Commands {
callback { GhostUtil.importCTGhostCounterData() }
}
event.register("shcroptime") {
- description = "Calculates with your current crop per second speed " +
- "how long you need to farm a crop to collect this amount of items"
+ description =
+ "Calculates with your current crop per second speed " + "how long you need to farm a crop to collect this amount of items"
category = CommandCategory.USERS_ACTIVE
callback { GardenCropTimeCommand.onCommand(it) }
}
@@ -205,8 +205,9 @@ object Commands {
callback { FarmingWeightDisplay.lookUpCommand(it) }
}
event.register("shcopytranslation") {
- description = "Copy the translation of a message in another language to your clipboard.\n" +
- "Uses a language code that can be found at the end of a translation message."
+ description =
+ "Copy the translation of a message in another language to your clipboard.\n" +
+ "Uses a 2 letter language code that can be found at the end of a translation message."
category = CommandCategory.USERS_ACTIVE
callback { Translator.fromNativeLanguage(it) }
}
@@ -585,7 +586,8 @@ object Commands {
callback { ItemPriceUtils.debugItemPrice(it) }
}
event.register("shdebugscoreboard") {
- description = "Monitors the scoreboard changes: " +
+ description =
+ "Monitors the scoreboard changes: " +
"Prints the raw scoreboard lines in the console after each update, with time since last update."
category = CommandCategory.DEVELOPER_DEBUG
callback { ScoreboardData.toggleMonitor() }
@@ -740,7 +742,8 @@ object Commands {
callback { TitleManager.command(it) }
}
event.register("shresetconfig") {
- description = "Reloads the config manager and rendering processors of MoulConfig. " +
+ description =
+ "Reloads the config manager and rendering processors of MoulConfig. " +
"This §cWILL RESET §7your config, but also updating the java config files " +
"(names, description, orderings and stuff)."
category = CommandCategory.DEVELOPER_TEST