From ac6f58954a69530a07f74108519716f2beadca99 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Sat, 25 Nov 2023 12:55:54 +0100 Subject: The hidden flag for items in Item Trackers is now shared between total view and session view v2 --- .../at/hannibal2/skyhanni/utils/tracker/SkyHanniItemTracker.kt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/main/java/at/hannibal2') 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( } 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}") + } } } -- cgit