Also allow lowercase
This commit is contained in:
parent
c3ed34322d
commit
fa3961d85b
1 changed files with 1 additions and 0 deletions
|
@ -56,6 +56,7 @@ public class ChatColor {
|
|||
{
|
||||
for(ChatColor.ColorOptions color : ChatColor.ColorOptions.values()){
|
||||
msg = msg.replace("!"+color.toString()+"!", ChatColor.from(color));
|
||||
msg = msg.replace("!"+color.toString().toLowerCase()+"!", ChatColor.from(color));
|
||||
}
|
||||
for(ChatColor.ColorOptions color : ChatColor.ColorOptions.values()){
|
||||
String correctCode = ChatColor.from(color);
|
||||
|
|
Reference in a new issue