Bug: Unicode characters have the backslash cut off, so they don't work
Closed this issue · 1 comments
DoubleF3lix commented
[Assassin](red, hover_text=<[Assassin](red)
[\u2764Health ](red) [- 20](white)
[3x](gray)>)
["", {"text": "Assassin", "color": "red", "hoverEvent": {"action": "show_text", "contents": ["", {"text": "Assassin", "color": "red"}, {"text": "\n\n"}, {"text": "u2764Health ", "color": "red"}, {"text": " "}, {"text": "- 20", "color": "white"}, {"text": "\n\n"}, {"text": "3x", "color": "gray"}]}}]
(Note the "u2764Health"
)
For now, I'd use a placeholder for the \
and then find replace it in your code. For instance, I use &
and replace &u
with \u
DoubleF3lix commented
Fixed in 1.3.0