BUILDTOOLS-251: Make much of Bukkit locale independent
By: md_5 <git@md-5.net>
This commit is contained in:
@@ -26,7 +26,7 @@ public class CraftAttributeMap implements Attributable {
|
||||
int first = bukkit.indexOf('_');
|
||||
int second = bukkit.indexOf('_', first + 1);
|
||||
|
||||
StringBuilder sb = new StringBuilder(bukkit.toLowerCase());
|
||||
StringBuilder sb = new StringBuilder(bukkit.toLowerCase(java.util.Locale.ENGLISH));
|
||||
|
||||
sb.setCharAt(first, '.');
|
||||
if (second != -1) {
|
||||
|
||||
Reference in New Issue
Block a user