
"Permission-Message" colour codes not working
TheClassic36 opened this issue ยท 1 comments
Description
Creating an icon with a "permission-message" attribute with colour codes (e.g. "&a") will cause the message to appear in white in the chat - the colour codes are ignored.
How to reproduce
- Create a menu & an icon
- Give the icon the "permission-message" attribute
- Type a message with colour codes (e.g. "&eError! &7You do not have permission to do that!")
- Reload ChestCommands
- Open menu & click the icon (make sure you don't have permission first, so you see the message!)
- Open chat - the message will be there in white.
Platform
- Server version (output of
/version
): "Paper version git-Paper-465 (MC 1.16.5) (Implementing API version 1.16.5-R0.1-SNAPSHOT) - Chest Commands version (check with
/cc
): 4.0.3
Additional context
Message in menu file:
https://i.imgur.com/UwEuTPk.png
How it displays in chat:
https://i.imgur.com/58d67kc.png
Example menu:
https://pastebin.com/8UCKR7ta
Fixed in b90fa74 (will be contained in the v4.0.4 release)