Fix uppercase color codes

This commit is contained in:
Jonas Konrad 2014-03-15 20:19:48 +01:00
parent c29676e4fc
commit 5ae2e24c84

View File

@ -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;