aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/lorenz/mod/HideNotClickableItems.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/lorenz/mod/HideNotClickableItems.kt')
-rw-r--r--src/main/java/at/lorenz/mod/HideNotClickableItems.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/at/lorenz/mod/HideNotClickableItems.kt b/src/main/java/at/lorenz/mod/HideNotClickableItems.kt
index 3a882b11f..83c80b426 100644
--- a/src/main/java/at/lorenz/mod/HideNotClickableItems.kt
+++ b/src/main/java/at/lorenz/mod/HideNotClickableItems.kt
@@ -27,6 +27,7 @@ class HideNotClickableItems {
@SubscribeEvent
fun onBackgroundDrawn(event: GuiContainerEvent.BackgroundDrawnEvent) {
+ if (!LorenzUtils.inSkyblock) return
if (isDisabled()) return
if (event.gui !is GuiChest) return
val guiChest = event.gui