diff options
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/garden/DicerRngDropTrackerConfig.java | 1 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/farming/DicerRngDropTracker.kt | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/garden/DicerRngDropTrackerConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/garden/DicerRngDropTrackerConfig.java index 55dab6c74..77cb352f6 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/garden/DicerRngDropTrackerConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/garden/DicerRngDropTrackerConfig.java @@ -29,5 +29,6 @@ public class DicerRngDropTrackerConfig { @Expose @ConfigLink(owner = DicerRngDropTrackerConfig.class, field = "display") + // TODO rename to "positon" public Position pos = new Position(16, -232, false, true); } diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/DicerRngDropTracker.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/DicerRngDropTracker.kt index 8cc8c55cb..9e9e3620b 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/DicerRngDropTracker.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/DicerRngDropTracker.kt @@ -170,6 +170,7 @@ object DicerRngDropTracker { @SubscribeEvent fun onRenderOverlay(event: GuiRenderEvent) { if (!isEnabled()) return + if (cropInHand == null) return tracker.renderDisplay(config.pos) } |