From e7d7ec972590853453bf0a5c87b92e75fce71273 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Tue, 4 Apr 2023 23:15:56 +0200 Subject: Added option to hide the hypixel api error message by clicking on it --- src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt | 2 ++ 1 file changed, 2 insertions(+) (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 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) -> Unit) { -- cgit