§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.
However, if "Chat Emoji" is enabled, all of this string appears in red.
Notes
This issue does not occur with titles for actions in the action wheel.
Description
§r
is not working inprint()
orlog()
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>
.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.
However, if "Chat Emoji" is enabled, all of this string appears in red.
Notes