aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-12-21 02:13:45 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-12-21 02:13:45 +0100
commitabc12e38b28864f2b3aba213e651775ea4cc8f4e (patch)
tree1361364479cc648cad43a5f1d5414270db0e910b /src/main/java/at/hannibal2
parent8307ea7899f6c6a9500f1decccdbe4ef388445b9 (diff)
downloadskyhanni-abc12e38b28864f2b3aba213e651775ea4cc8f4e.tar.gz
skyhanni-abc12e38b28864f2b3aba213e651775ea4cc8f4e.tar.bz2
skyhanni-abc12e38b28864f2b3aba213e651775ea4cc8f4e.zip
SkyHanni position editor hotkey now works outside SkyBlock as well.
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/GuiEditManager.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/GuiEditManager.kt b/src/main/java/at/hannibal2/skyhanni/data/GuiEditManager.kt
index 29a344b18..b7901d078 100644
--- a/src/main/java/at/hannibal2/skyhanni/data/GuiEditManager.kt
+++ b/src/main/java/at/hannibal2/skyhanni/data/GuiEditManager.kt
@@ -28,7 +28,7 @@ class GuiEditManager {
@SubscribeEvent
fun onKeyClick(event: LorenzKeyPressEvent) {
- if (!LorenzUtils.inSkyBlock) return
+ if (!LorenzUtils.onHypixel) return
if (event.keyCode != SkyHanniMod.feature.gui.keyBindOpen) return
if (isInGui()) return