diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-09-10 16:00:42 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-09-10 16:00:42 +0200 |
commit | d2493f9525c01f549d924ac7ccd5ec3fbf530286 (patch) | |
tree | e3d6741b21776e68fe73486ae75afae15438300b | |
parent | 3da4862fee4a445842f338d6fe5f7d0643874163 (diff) | |
download | skyhanni-d2493f9525c01f549d924ac7ccd5ec3fbf530286.tar.gz skyhanni-d2493f9525c01f549d924ac7ccd5ec3fbf530286.tar.bz2 skyhanni-d2493f9525c01f549d924ac7ccd5ec3fbf530286.zip |
fix dicer tracker visibility
-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) } |