From 29f8bad3e41c8a0215a8b4f3e971a24a2a1f9758 Mon Sep 17 00:00:00 2001 From: Lorenz Date: Sat, 9 Jul 2022 02:41:10 +0200 Subject: adding support for isOnHypixel, inSkyblock and inDungeons --- src/main/java/at/lorenz/mod/HideNotClickableItems.kt | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/java/at/lorenz/mod/HideNotClickableItems.kt') 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 -- cgit