Tfarcenim / simpletrophies

Simple trophies mod for modpack makers
Mozilla Public License 2.0
0 stars 3 forks source link

Fixed item tooltip #3

Open Theta-Dev opened 4 years ago

Theta-Dev commented 4 years ago

I noticed an issue: If you have an item with a tooltip that shows additional information while holding shift and create a trophy with it, the trophy tooltip becomes a weird mess of text components and translation keys. image

I fixed this issue (you have to use appendSibling() (or append() in 1.16) to concatenate TextComponents) and also added client config options to disable the item name/tooltip display in the trophy's tooltip. image image image

Happy #Hacktoberfest !