aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/com/dulkirfabric/util/ItemChangeHandler.kt
diff options
context:
space:
mode:
authoringlettronald <inglettronald@gmail.com>2023-07-23 09:02:00 -0500
committeringlettronald <inglettronald@gmail.com>2023-07-23 09:02:00 -0500
commitc2f12fc024ed726b9b4479decfcb90ddefc6f52a (patch)
tree548ee416de6a655470cd2b096cbb29238c974c30 /src/main/kotlin/com/dulkirfabric/util/ItemChangeHandler.kt
parent362f71b14f864c6d86e7c805e51cd64a8194d9fb (diff)
downloadDulkirMod-Fabric-c2f12fc024ed726b9b4479decfcb90ddefc6f52a.tar.gz
DulkirMod-Fabric-c2f12fc024ed726b9b4479decfcb90ddefc6f52a.tar.bz2
DulkirMod-Fabric-c2f12fc024ed726b9b4479decfcb90ddefc6f52a.zip
organization
Diffstat (limited to 'src/main/kotlin/com/dulkirfabric/util/ItemChangeHandler.kt')
-rw-r--r--src/main/kotlin/com/dulkirfabric/util/ItemChangeHandler.kt13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/main/kotlin/com/dulkirfabric/util/ItemChangeHandler.kt b/src/main/kotlin/com/dulkirfabric/util/ItemChangeHandler.kt
deleted file mode 100644
index 7a98f7f..0000000
--- a/src/main/kotlin/com/dulkirfabric/util/ItemChangeHandler.kt
+++ /dev/null
@@ -1,13 +0,0 @@
-package com.dulkirfabric.util
-
-import com.dulkirfabric.events.TooltipRenderChangeEvent
-
-object ItemChangeHandler {
- var prevName = ""
- fun handle(name: String) {
- if (name != prevName) {
- prevName = name
- TooltipRenderChangeEvent.post()
- }
- }
-} \ No newline at end of file