diff options
author | CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> | 2024-05-30 06:17:41 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-29 22:17:41 +0200 |
commit | 28efe42942ead21fb4ba9fa16e132975e34f65fb (patch) | |
tree | 4bb8330b0832bd183f0736535866faeaa49b390f /src/main/java/at/hannibal2/skyhanni/data/ToolTipData.kt | |
parent | 56f13597822b45caea4167d7d75258078e06c1b3 (diff) | |
download | skyhanni-28efe42942ead21fb4ba9fa16e132975e34f65fb.tar.gz skyhanni-28efe42942ead21fb4ba9fa16e132975e34f65fb.tar.bz2 skyhanni-28efe42942ead21fb4ba9fa16e132975e34f65fb.zip |
Fix: tooltip event (#1920)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/data/ToolTipData.kt')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/data/ToolTipData.kt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/ToolTipData.kt b/src/main/java/at/hannibal2/skyhanni/data/ToolTipData.kt index 709961ce6..258cb244e 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/ToolTipData.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/ToolTipData.kt @@ -11,6 +11,8 @@ import net.minecraft.item.ItemStack // Please use LorenzToolTipEvent over ItemTooltipEvent if no special EventPriority is necessary object ToolTipData { + + @JvmStatic fun getTooltip(stack: ItemStack, toolTip: MutableList<String>): List<String> { onHover(stack, toolTip) return onTooltip(toolTip) |