Tooltips don't parse "%n%" into real line breaks anymore
BredyAK opened this issue ยท 0 comments
Describe the bug
Currently, the plain text which cotains line breaks could be parsed correctly, but a variable which contains "%n%" can't. I clearly remember this doesn't happen when my FancyMenu is on 3.4.6.
This made my whole modpack can't render line breaks in variables on FancyMenu's tooltips as before... :(
To Reproduce
Steps to reproduce the behavior (e.g.):
-
Create a layout
-
Add a button
-
Set the button's tooltip as following:
aaa {"placeholder":"getvariable","values":{"name":"test_variable"}} bbbThe variable
test_variable's value isline1%n%line2 -
Save the layout and see it ingame, hover on the button, you will find the button looks like this:
-
It SHOULD be like this (just like how it works on FancyMenu 3.4.6):
Game Log
https://mclo.gs/EUhEEI6
Screenshots
See above.
Basic Information (please complete the following information):
- OS: Windows 11
- FancyMenu Version 3.7.0
- Fabric/Forge/NeoForge Version 47.3.0
- Minecraft Version 1.20.1