Truly fixes parsing of &# color tags
This commit is contained in:
		@@ -85,11 +85,7 @@ public final class ColorHelper {
 | 
			
		||||
        }
 | 
			
		||||
        Matcher matcher = pattern.matcher(message);
 | 
			
		||||
        while (matcher.find()) {
 | 
			
		||||
            try {
 | 
			
		||||
                message = message.replace(matcher.group(), "" + ChatColor.of(matcher.group()));
 | 
			
		||||
            } catch (IllegalArgumentException ignored) {
 | 
			
		||||
                //Something was matched that wasn't a proper color after all. Ignore it.
 | 
			
		||||
            }
 | 
			
		||||
            message = message.replace(matcher.group(), "" + ChatColor.of(matcher.group(1)));
 | 
			
		||||
        }
 | 
			
		||||
        return message;
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user