From 8a9f68bc211a70a13470db8672fde6c96e856d5c Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Mon, 11 Dec 2023 21:42:12 +0100 Subject: Fixed tracker name. --- .../java/at/hannibal2/skyhanni/utils/tracker/SkyHanniItemTracker.kt | 2 +- src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniTracker.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java') 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 da238d01d..e7b1faacb 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniItemTracker.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniItemTracker.kt @@ -97,7 +97,7 @@ class SkyHanniItemTracker( if (System.currentTimeMillis() > lastClickDelay + 150) { if (KeyboardManager.isModifierKeyDown()) { data.items.remove(internalName) - LorenzUtils.chat("Removed $cleanName §efrom Fishing Frofit Tracker.") + LorenzUtils.chat("Removed $cleanName §efrom $name.") lastClickDelay = System.currentTimeMillis() + 500 } else { modify { diff --git a/src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniTracker.kt b/src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniTracker.kt index bc2db88e1..888d47361 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniTracker.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniTracker.kt @@ -19,7 +19,7 @@ import net.minecraft.client.gui.inventory.GuiInventory import kotlin.time.Duration.Companion.seconds open class SkyHanniTracker( - private val name: String, + val name: String, private val createNewSession: () -> Data, private val getStorage: (Storage.ProfileSpecific) -> Data, private val drawDisplay: (Data) -> List>, -- cgit