diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-12-11 21:42:12 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-12-11 21:42:12 +0100 |
commit | 8a9f68bc211a70a13470db8672fde6c96e856d5c (patch) | |
tree | e50d3d0a379d170dc55061b152e32c6e3458ce60 /src/main | |
parent | 1cfd0512dbc2a85a26cafddbf19ac7be7f1b166d (diff) | |
download | skyhanni-8a9f68bc211a70a13470db8672fde6c96e856d5c.tar.gz skyhanni-8a9f68bc211a70a13470db8672fde6c96e856d5c.tar.bz2 skyhanni-8a9f68bc211a70a13470db8672fde6c96e856d5c.zip |
Fixed tracker name.
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniItemTracker.kt | 2 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniTracker.kt | 2 |
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>>, |