aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-10-17 13:24:39 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-10-17 13:24:39 +0200
commitd48b959ba8bd002aa1f895245cfbe0ccbea870a0 (patch)
treea8916507bb8c5f74cdf6fcef49a7b97f8d2c8e91 /src/main/java/at
parent07973160f87535eed91ea15c7a2bb37d75d85922 (diff)
downloadskyhanni-d48b959ba8bd002aa1f895245cfbe0ccbea870a0.tar.gz
skyhanni-d48b959ba8bd002aa1f895245cfbe0ccbea870a0.tar.bz2
skyhanni-d48b959ba8bd002aa1f895245cfbe0ccbea870a0.zip
Hiding a bunch of garden guis in a bunch of garden inventories v2
Diffstat (limited to 'src/main/java/at')
-rwxr-xr-xsrc/main/java/at/hannibal2/skyhanni/features/garden/GardenYawAndPitch.kt1
1 files changed, 1 insertions, 0 deletions
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