aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-22 11:05:21 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-22 11:05:21 +0100
commit75f6b3be1876518753b5d75dbbf6bd263021ee04 (patch)
treea14b4f5f5e95330cc629f1b1826efa1985d42119 /src
parentac60b52cbd9c30efe50a7d0421ccee082119fc8b (diff)
downloadskyhanni-75f6b3be1876518753b5d75dbbf6bd263021ee04.tar.gz
skyhanni-75f6b3be1876518753b5d75dbbf6bd263021ee04.tar.bz2
skyhanni-75f6b3be1876518753b5d75dbbf6bd263021ee04.zip
Fixed Farming Fortune Display not showing for non crop specific tools.
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/FarmingFortuneDisplay.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/FarmingFortuneDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/FarmingFortuneDisplay.kt
index e200ec9f6..3e57bb199 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/FarmingFortuneDisplay.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/FarmingFortuneDisplay.kt
@@ -72,7 +72,7 @@ class FarmingFortuneDisplay {
fun onRenderOverlay(event: GuiRenderEvent.GuiOverlayRenderEvent) {
if (!isEnabled()) return
if (GardenAPI.hideExtraGuis()) return
- if (GardenAPI.cropInHand == null) return
+ if (GardenAPI.toolInHand == null) return
config.pos.renderStringsAndItems(display, posLabel = "True Farming Fortune")
}