This pull request is aimed to address color reset inconsistency in the color text generator utility. This should hopefully solve the #175 issue.
For reference, I used Esssentials Chat in-game here to differentiate between incorrect and correct behavior. I also made sure to apply the fix to every preview. If I missed something or there are any improvements that I could make, feel free to let me know!
Fixed the following inconsistencies:
&r (reset) and &0-9/&a-f (any and all colors) not removing the bold/italic effects and inherited underline/line-through decorations. From what I understand, the only thing &r (reset) did was reset the color and &0-9 & &a-f only changed the color.
This pull request is aimed to address color reset inconsistency in the color text generator utility. This should hopefully solve the #175 issue.
For reference, I used Esssentials Chat in-game here to differentiate between incorrect and correct behavior. I also made sure to apply the fix to every preview. If I missed something or there are any improvements that I could make, feel free to let me know!
Fixed the following inconsistencies:
&r
(reset) and&0-9
/&a-f
(any and all colors) not removing the bold/italic effects and inherited underline/line-through decorations. From what I understand, the only thing&r
(reset) did was reset the color and&0-9
&&a-f
only changed the color.Test cases:
Bold: &c&lhi &etest
Italic: &e&ohi &r&etest
Underline: &c&nhi &etest
Line-through: &c&mhi &etest