aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/mining
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-07 21:50:26 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-07 21:50:26 +0100
commitbc27a67c4495c8e4a37f559e1224ebfc0d649e80 (patch)
tree99af830b9b78bd9ce3b0f4332c0bf824390629dd /src/main/java/at/hannibal2/skyhanni/features/mining
parent5b7b2203c4ddeb1c9d40aff578cfab61df87d293 (diff)
downloadskyhanni-bc27a67c4495c8e4a37f559e1224ebfc0d649e80.tar.gz
skyhanni-bc27a67c4495c8e4a37f559e1224ebfc0d649e80.tar.bz2
skyhanni-bc27a67c4495c8e4a37f559e1224ebfc0d649e80.zip
Used SkyHanniTracker in SlayerItemProfitTracker
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/mining')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/mining/powdertracker/PowderTracker.kt4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/mining/powdertracker/PowderTracker.kt b/src/main/java/at/hannibal2/skyhanni/features/mining/powdertracker/PowderTracker.kt
index f5c56cc9a..2f1999ea2 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/mining/powdertracker/PowderTracker.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/mining/powdertracker/PowderTracker.kt
@@ -198,6 +198,10 @@ object PowderTracker {
addAsSingletonList("§b§lPowder Tracker")
tracker.addDisplayModeToggle(this, closedText = "")
+ if (!tracker.isInventoryOpen()) {
+ addAsSingletonList("")
+ }
+
val display = tracker.currentDisplay() ?: return@buildList
val chestPerHour = format(chestInfo.perHour)