From c65416e03ce0791c4a99e9bdfc18c0fa0863028a Mon Sep 17 00:00:00 2001 From: Lorenz Date: Thu, 14 Jul 2022 11:26:34 +0200 Subject: remove old sbh/skyblockhud code --- src/main/java/at/lorenz/mod/misc/ButtonOnPause.kt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/main/java/at/lorenz/mod/misc') diff --git a/src/main/java/at/lorenz/mod/misc/ButtonOnPause.kt b/src/main/java/at/lorenz/mod/misc/ButtonOnPause.kt index c15ce4a44..735f1db99 100644 --- a/src/main/java/at/lorenz/mod/misc/ButtonOnPause.kt +++ b/src/main/java/at/lorenz/mod/misc/ButtonOnPause.kt @@ -2,8 +2,8 @@ package at.lorenz.mod.misc import at.lorenz.mod.LorenzMod import at.lorenz.mod.utils.LorenzUtils -import com.thatgravyboat.skyblockhud_2.config.SBHConfigEditor -import com.thatgravyboat.skyblockhud_2.core.GuiScreenElementWrapper +import com.thatgravyboat.amod.config.ConfigEditor +import com.thatgravyboat.amod.core.GuiScreenElementWrapper import net.minecraft.client.gui.GuiButton import net.minecraft.client.gui.GuiIngameMenu import net.minecraftforge.client.event.GuiScreenEvent @@ -17,7 +17,11 @@ class ButtonOnPause { if (!LorenzUtils.isOnHypixel) return if (LorenzMod.feature.misc.configButtonOnPause && event.gui is GuiIngameMenu && event.button.id == buttonId) { - LorenzMod.screenToOpen = GuiScreenElementWrapper(SBHConfigEditor(LorenzMod.feature)) + LorenzMod.screenToOpen = GuiScreenElementWrapper( + ConfigEditor( + LorenzMod.feature + ) + ) } } -- cgit