aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-12-11 21:42:12 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-12-11 21:42:12 +0100
commit8a9f68bc211a70a13470db8672fde6c96e856d5c (patch)
treee50d3d0a379d170dc55061b152e32c6e3458ce60 /src/main/java
parent1cfd0512dbc2a85a26cafddbf19ac7be7f1b166d (diff)
downloadskyhanni-8a9f68bc211a70a13470db8672fde6c96e856d5c.tar.gz
skyhanni-8a9f68bc211a70a13470db8672fde6c96e856d5c.tar.bz2
skyhanni-8a9f68bc211a70a13470db8672fde6c96e856d5c.zip
Fixed tracker name.
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniItemTracker.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniTracker.kt2
2 files changed, 2 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 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<Data : ItemTrackerData>(
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<Data : TrackerData>(
- private val name: String,
+ val name: String,
private val createNewSession: () -> Data,
private val getStorage: (Storage.ProfileSpecific) -> Data,
private val drawDisplay: (Data) -> List<List<Any>>,