From 2efee154b649988045f179e622cc27afe3f93013 Mon Sep 17 00:00:00 2001 From: CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> Date: Sun, 8 Oct 2023 02:28:07 +1100 Subject: Fix: make contest menu show again (#537) --- .../garden/contest/JacobFarmingContestsInventory.kt | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni') diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/contest/JacobFarmingContestsInventory.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/contest/JacobFarmingContestsInventory.kt index 3ad7f70d7..55d8bd66e 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/contest/JacobFarmingContestsInventory.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/contest/JacobFarmingContestsInventory.kt @@ -92,24 +92,6 @@ class JacobFarmingContestsInventory { } } - @SubscribeEvent - fun onDrawSlot(event: GuiContainerEvent.DrawSlotEvent.GuiContainerDrawSlotPre) { - if (!LorenzUtils.inSkyBlock) return - if (!InventoryUtils.openInventoryName().contains("Your Contests")) return - - if (hideEverything) { - val slot = event.slot - val number = slot.slotNumber - if (number in 10..43) { - event.isCanceled = true - return - } - - } - - event.isCanceled = true - } - @SubscribeEvent fun onTooltip(event: LorenzToolTipEvent) { if (!LorenzUtils.inSkyBlock) return -- cgit