Iridescent compatibility issues
Created by: Klyser8
I'm trying to hook onto MMOItems, trying to make MMOItems work with a plugin I developed as requested by a user.
The plugin in question is Iridescent (https://www.spigotmc.org/resources/
An Iridescent user was having issues using these colors in MMOItems, with those color codes not parsing. I assume this is because when setting an Item's name using MMOItems there is no CHAT packets being sent (Due to the AsyncPlayerChatEvent getting cancelled I believe), so what I was hoping that there would be a way for Iridescent to modify the chosen name of the MMOItem before it actually gets applied to the weapon.
Steps to reproduce the behavior:
- Download and enable Iridescent
- Try using any color tag when renaming an item through the MMOItems item editor (Example name: <$#8000f0>Test Item$@fire)
The item's name should display as follows: https://media.discordapp.net/attachments/621720730006061056/732905024677740644/unknown.png
Instead, it displays as follows: https://media.discordapp.net/attachments/621720730006061056/732905320971501578/unknown.png
Server info:
- Paper-90 (1.16.1)
- MMOItems 5.5.3
- Iridescent