diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-12-09 12:47:14 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-12-09 12:47:14 +0100 |
commit | 1c1c69f088036eb2e9f265c7e0c7fbcfb5d123b8 (patch) | |
tree | 1d23ba6e6a0a7c51dd448542b9af0b7a0af0e472 /src/main/java/at/hannibal2/skyhanni/events | |
parent | aff4c2a100b4fcfbfcaac625728f55fe68dc6872 (diff) | |
download | skyhanni-1c1c69f088036eb2e9f265c7e0c7fbcfb5d123b8.tar.gz skyhanni-1c1c69f088036eb2e9f265c7e0c7fbcfb5d123b8.tar.bz2 skyhanni-1c1c69f088036eb2e9f265c7e0c7fbcfb5d123b8.zip |
Fixed error messages in composter inventory when hovering over some items.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/events')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/events/LorenzToolTipEvent.kt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/events/LorenzToolTipEvent.kt b/src/main/java/at/hannibal2/skyhanni/events/LorenzToolTipEvent.kt index 538087fac..9e18fced9 100644 --- a/src/main/java/at/hannibal2/skyhanni/events/LorenzToolTipEvent.kt +++ b/src/main/java/at/hannibal2/skyhanni/events/LorenzToolTipEvent.kt @@ -3,4 +3,6 @@ package at.hannibal2.skyhanni.events import net.minecraft.inventory.Slot import net.minecraft.item.ItemStack -class LorenzToolTipEvent(val slot: Slot, val itemStack: ItemStack, var toolTip: MutableList<String>) : LorenzEvent()
\ No newline at end of file +class LorenzToolTipEvent(val slot: Slot, val itemStack: ItemStack, var toolTip: MutableList<String>) : LorenzEvent() { + fun toolTipRemovedPrefix() = toolTip.map { it.removePrefix("§5§o") } +} |