aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/data
diff options
context:
space:
mode:
authorRoman / Linnea Gräf <nea@nea.moe>2023-03-31 21:32:42 +0200
committerGitHub <noreply@github.com>2023-03-31 21:32:42 +0200
commit53c1440fa4a42613b140f4f099b60c3664ba0fdd (patch)
tree0341c3b48d533fdc3f2efa9e172cd4f6c37eeb14 /src/main/java/at/hannibal2/skyhanni/data
parente6bcc8f902e410c348ff720ab73de14e5cf04280 (diff)
downloadskyhanni-53c1440fa4a42613b140f4f099b60c3664ba0fdd.tar.gz
skyhanni-53c1440fa4a42613b140f4f099b60c3664ba0fdd.tar.bz2
skyhanni-53c1440fa4a42613b140f4f099b60c3664ba0fdd.zip
Add rancher boot overlay for optimal crop speeds (#25)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/data')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/GuiEditManager.kt3
1 files changed, 2 insertions, 1 deletions
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