Figura

Figura

509k Downloads

"§r" is not working if "Chat Emojis" is enabled.

Gakuto1112 opened this issue · 0 comments

commented

Description

§r is not working in print() or log() strings if "Chat Emojis" is enabled.

§r is one of text decoration code provided by Minecraft. It means resetting previous text decoration. For more information, please see wiki page.

Example

Please run below code with avatar script.
Note: You cannot run this code with /figura run <code>.

print("§cThis text should appear in red.§r This text should appear in white.")

As for expected behavior ("Chat Emojis" is disabled), "This text should appear in red." appears in red and "This text should appear in white." appears in white.

Expected display

However, if "Chat Emoji" is enabled, all of this string appears in red.

All red string

Notes

  • This issue does not occur with titles for actions in the action wheel.