BUILDTOOLS-251: Make much of Bukkit locale independent
By: md_5 <git@md-5.net>
This commit is contained in:
@@ -57,7 +57,7 @@ public final class CraftChatMessage {
|
||||
appendNewComponent(matcher.start(groupId));
|
||||
switch (groupId) {
|
||||
case 1:
|
||||
EnumChatFormat format = formatMap.get(match.toLowerCase().charAt(1));
|
||||
EnumChatFormat format = formatMap.get(match.toLowerCase(java.util.Locale.ENGLISH).charAt(1));
|
||||
if (format == EnumChatFormat.RESET) {
|
||||
modifier = new ChatModifier();
|
||||
} else if (format.isFormat()) {
|
||||
|
||||
Reference in New Issue
Block a user