aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/lorenz/mod/misc
diff options
context:
space:
mode:
authorLorenz <ESs95s3P5z8Pheb>2022-07-14 11:26:34 +0200
committerLorenz <ESs95s3P5z8Pheb>2022-07-14 11:26:34 +0200
commitc65416e03ce0791c4a99e9bdfc18c0fa0863028a (patch)
tree653e7e8bbfce0cb2f25592fd48b531f863c3575e /src/main/java/at/lorenz/mod/misc
parentb2108f37f551fba5cb43f4919d69e5db7bb1e44c (diff)
downloadskyhanni-c65416e03ce0791c4a99e9bdfc18c0fa0863028a.tar.gz
skyhanni-c65416e03ce0791c4a99e9bdfc18c0fa0863028a.tar.bz2
skyhanni-c65416e03ce0791c4a99e9bdfc18c0fa0863028a.zip
remove old sbh/skyblockhud code
Diffstat (limited to 'src/main/java/at/lorenz/mod/misc')
-rw-r--r--src/main/java/at/lorenz/mod/misc/ButtonOnPause.kt10
1 files changed, 7 insertions, 3 deletions
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
+ )
+ )
}
}