aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-25 12:55:54 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-25 12:55:54 +0100
commitac6f58954a69530a07f74108519716f2beadca99 (patch)
tree3c4a21168a7b1f82040e02c42cc71972cf3be1ea
parent0861581f3d173e6129bfed6988dcb371a6927af4 (diff)
downloadskyhanni-ac6f58954a69530a07f74108519716f2beadca99.tar.gz
skyhanni-ac6f58954a69530a07f74108519716f2beadca99.tar.bz2
skyhanni-ac6f58954a69530a07f74108519716f2beadca99.zip
The hidden flag for items in Item Trackers is now shared between total view and session view v2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniItemTracker.kt7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniItemTracker.kt b/src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniItemTracker.kt
index 85d623fa1..b20515cd4 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniItemTracker.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniItemTracker.kt
@@ -1,5 +1,6 @@
package at.hannibal2.skyhanni.utils.tracker
+import at.hannibal2.skyhanni.SkyHanniMod
import at.hannibal2.skyhanni.config.Storage
import at.hannibal2.skyhanni.test.PriceSource
import at.hannibal2.skyhanni.utils.ItemUtils.nameWithEnchantment
@@ -139,8 +140,10 @@ class SkyHanniItemTracker<Data : ItemTrackerData>(
}
add("§eClick to " + (if (hidden) "show" else "hide") + "!")
add("§eControl + Click to remove this item!")
- add("")
- add("§7${internalName}")
+ if (SkyHanniMod.feature.dev.debug.enabled) {
+ add("")
+ add("§7${internalName}")
+ }
}
}