mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-12-24 17:47:41 +01:00
Fix uppercase color codes
This commit is contained in:
parent
c29676e4fc
commit
5ae2e24c84
@ -42,12 +42,12 @@ public class TextComponent extends BaseComponent
|
||||
{
|
||||
i++;
|
||||
c = message.charAt( i );
|
||||
ChatColor format = ChatColor.getByChar( c );
|
||||
if ( format == null ) continue;
|
||||
if ( c >= 'A' && c <= 'Z' )
|
||||
{
|
||||
c += 32;
|
||||
}
|
||||
ChatColor format = ChatColor.getByChar( c );
|
||||
if ( format == null ) continue;
|
||||
if ( builder.length() > 0 )
|
||||
{
|
||||
TextComponent old = component;
|
||||
|
Loading…
Reference in New Issue
Block a user