diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-12-01 02:23:27 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-12-01 02:23:27 +0100 |
commit | 94292e6cca304546c893d43fc2ee7b066fc9d651 (patch) | |
tree | 538edd2bcaf6a0737e4c0d76aa917dfcae069d5e /src/main/java/at | |
parent | b8db01c32f2936728dde3a6f68711e9e0fce5bed (diff) | |
download | skyhanni-94292e6cca304546c893d43fc2ee7b066fc9d651.tar.gz skyhanni-94292e6cca304546c893d43fc2ee7b066fc9d651.tar.bz2 skyhanni-94292e6cca304546c893d43fc2ee7b066fc9d651.zip |
better command usage
Diffstat (limited to 'src/main/java/at')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt | 4 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/test/SkyHanniDebugsAndTests.kt | 4 |
2 files changed, 4 insertions, 4 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 9f77ddb86..f3bd55907 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt +++ b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt @@ -386,7 +386,7 @@ object Commands { @JvmStatic fun openFortuneGuide() { if (!LorenzUtils.inSkyBlock) { - LorenzUtils.chat("§cJoin SkyBlock to open the fortune guide!", false) + LorenzUtils.userError("Join SkyBlock to open the fortune guide!") } else { CaptureFarmingGear.captureFarmingGear() SkyHanniMod.screenToOpen = FFGuideGUI() @@ -396,7 +396,7 @@ object Commands { @JvmStatic fun openVisualWords() { if (!LorenzUtils.onHypixel) { - LorenzUtils.chat("§cYou need to join Hypixel to use this feature!", false) + LorenzUtils.userError("You need to join Hypixel to use this feature!") } else { if (VisualWordGui.sbeConfigPath.exists()) VisualWordGui.drawImport = true SkyHanniMod.screenToOpen = VisualWordGui() diff --git a/src/main/java/at/hannibal2/skyhanni/test/SkyHanniDebugsAndTests.kt b/src/main/java/at/hannibal2/skyhanni/test/SkyHanniDebugsAndTests.kt index de6ffef21..1a53e8283 100644 --- a/src/main/java/at/hannibal2/skyhanni/test/SkyHanniDebugsAndTests.kt +++ b/src/main/java/at/hannibal2/skyhanni/test/SkyHanniDebugsAndTests.kt @@ -344,13 +344,13 @@ class SkyHanniDebugsAndTests { fun copyItemInternalName() { val hand = InventoryUtils.getItemInHand() if (hand == null) { - LorenzUtils.chat("§cNo item in hand!") + LorenzUtils.userError("No item in hand!") return } val internalName = hand.getInternalNameOrNull() if (internalName == null) { - LorenzUtils.chat("§cInternal name is null for item ${hand.name}") + LorenzUtils.error("§cInternal name is null for item ${hand.name}") return } |