From d48b959ba8bd002aa1f895245cfbe0ccbea870a0 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Tue, 17 Oct 2023 13:24:39 +0200 Subject: Hiding a bunch of garden guis in a bunch of garden inventories v2 --- src/main/java/at/hannibal2/skyhanni/features/garden/GardenYawAndPitch.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenYawAndPitch.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenYawAndPitch.kt index f253c4800..2a09754cd 100755 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenYawAndPitch.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenYawAndPitch.kt @@ -21,6 +21,7 @@ class GardenYawAndPitch { fun onRenderOverlay(event: GuiRenderEvent.GuiOverlayRenderEvent) { if (!LorenzUtils.inSkyBlock) return if (!config.enabled) return + if (GardenAPI.hideExtraGuis()) return if (!GardenAPI.inGarden() && !config.showEverywhere) return if (GardenAPI.toolInHand == null && !config.showWithoutTool) return -- cgit