diff options
author | CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> | 2023-10-08 02:28:07 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-07 17:28:07 +0200 |
commit | 2efee154b649988045f179e622cc27afe3f93013 (patch) | |
tree | b59d1ce892371aa2bd6c1c02cca6f21d84e4fea1 /src/main/java | |
parent | fa09d3fddf4044d81f498b341a26e3dc22235341 (diff) | |
download | skyhanni-2efee154b649988045f179e622cc27afe3f93013.tar.gz skyhanni-2efee154b649988045f179e622cc27afe3f93013.tar.bz2 skyhanni-2efee154b649988045f179e622cc27afe3f93013.zip |
Fix: make contest menu show again (#537)
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/contest/JacobFarmingContestsInventory.kt | 18 |
1 files changed, 0 insertions, 18 deletions
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 @@ -93,24 +93,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 if (!InventoryUtils.openInventoryName().contains("Your Contests")) return |