diff options
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/misc/HarpKeybinds.kt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/HarpKeybinds.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/HarpKeybinds.kt index 08bb4cfee..5ca0e6239 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/misc/HarpKeybinds.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/misc/HarpKeybinds.kt @@ -2,6 +2,7 @@ package at.hannibal2.skyhanni.features.misc import at.hannibal2.skyhanni.SkyHanniMod import at.hannibal2.skyhanni.utils.InventoryUtils.openInventoryName +import at.hannibal2.skyhanni.utils.LorenzUtils import at.hannibal2.skyhanni.utils.SimpleTimeMark import net.minecraft.client.Minecraft import net.minecraft.client.gui.inventory.GuiChest @@ -26,6 +27,7 @@ class HarpKeybinds { @SubscribeEvent fun onGui(event: GuiScreenEvent) { + if (!LorenzUtils.inSkyBlock) return if (!SkyHanniMod.feature.misc.harpKeybinds) return if (!openInventoryName().startsWith("Harp")) return val chest = event.gui as? GuiChest ?: return |