Hide Tooltip item component crash
描述
The game crashes when hovering over an item which has the new "Hide Tooltip" Component.
However, this only happens when registering an ItemStackTooltipEvent.
To reproduce:
- Start LabyMod 4 with an Addon which registers an ItemStackTooltipEvent
- Giving an item with the "Hide Tooltip" Component (/give @p minecraft:dirt[minecraft:hide_tooltip={}])
- Opening inventory and hovering over the item
https://www.youtube.com/watch?v=8oNEVsPdr0M&feature=youtu.be
https://paste.labymod.net/ozuzalalecelosecorob.yaml
https://www.youtube.com/watch?v=8oNEVsPdr0M&feature=youtu.be
Operating System: Windows 11
LabyMod Version: 4.2.0+1131 addon-environment/dd55dff4
Minecraft Version: 24w12a
Installed Addons: Flux, Advanced Tooltip (dev branch [https://github.com/xNoci/Advanced_Tooltip/tree/dev])