summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-04-04 23:15:56 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-04-04 23:15:56 +0200
commite7d7ec972590853453bf0a5c87b92e75fce71273 (patch)
treeccefb6b05a044ecd5ff8e15482889794507bc92c /src/main/java/at/hannibal2/skyhanni/config
parent081655874773a5919782a7721c422522aabfdd95 (diff)
downloadskyhanni-e7d7ec972590853453bf0a5c87b92e75fce71273.tar.gz
skyhanni-e7d7ec972590853453bf0a5c87b92e75fce71273.tar.bz2
skyhanni-e7d7ec972590853453bf0a5c87b92e75fce71273.zip
Added option to hide the hypixel api error message by clicking on it
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt2
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 638ec334f..b808c4b31 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt
+++ b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt
@@ -15,6 +15,7 @@ import at.hannibal2.skyhanni.test.LorenzTest
import at.hannibal2.skyhanni.test.PacketTest
import at.hannibal2.skyhanni.test.command.CopyItemCommand
import at.hannibal2.skyhanni.test.command.CopyNearbyEntitiesCommand
+import at.hannibal2.skyhanni.utils.APIUtil
import net.minecraft.command.ICommandSender
import net.minecraftforge.client.ClientCommandHandler
@@ -53,6 +54,7 @@ object Commands {
registerCommand("shsetapikey") { ApiDataLoader.command(it) }
registerCommand("shtestgardenvisitors") { LorenzTest.testGardenVisitors() }
registerCommand("shresetitemnames") { BazaarDataGrabber.resetItemNames() }
+ registerCommand("shtogglehypixelapierrors") { APIUtil.toggleApiErrorMessages() }
}
private fun registerCommand(name: String, function: (Array<String>) -> Unit) {