From 53c1440fa4a42613b140f4f099b60c3664ba0fdd Mon Sep 17 00:00:00 2001 From: Roman / Linnea Gräf Date: Fri, 31 Mar 2023 21:32:42 +0200 Subject: Add rancher boot overlay for optimal crop speeds (#25) Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com> --- src/main/java/at/hannibal2/skyhanni/data/GuiEditManager.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main/java/at/hannibal2/skyhanni/data') diff --git a/src/main/java/at/hannibal2/skyhanni/data/GuiEditManager.kt b/src/main/java/at/hannibal2/skyhanni/data/GuiEditManager.kt index 0b761f442..7beaff605 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/GuiEditManager.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/GuiEditManager.kt @@ -8,6 +8,7 @@ import at.hannibal2.skyhanni.utils.LorenzUtils import io.github.moulberry.notenoughupdates.NEUOverlay import net.minecraft.client.Minecraft import net.minecraft.client.gui.inventory.GuiChest +import net.minecraft.client.gui.inventory.GuiEditSign import net.minecraft.client.gui.inventory.GuiInventory import net.minecraft.client.renderer.GlStateManager import net.minecraftforge.fml.common.eventhandler.EventPriority @@ -24,7 +25,7 @@ class GuiEditManager { if (!LorenzUtils.inSkyBlock) return Minecraft.getMinecraft().currentScreen?.let { - if (it !is GuiInventory && it !is GuiChest) return + if (it !is GuiInventory && it !is GuiChest && it !is GuiEditSign) return } if (!Keyboard.getEventKeyState()) return -- cgit