From 75f6b3be1876518753b5d75dbbf6bd263021ee04 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Wed, 22 Nov 2023 11:05:21 +0100 Subject: Fixed Farming Fortune Display not showing for non crop specific tools. --- .../java/at/hannibal2/skyhanni/features/garden/FarmingFortuneDisplay.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/at/hannibal2/skyhanni/features') 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") } -- cgit