BUILDTOOLS-251: Make much of Bukkit locale independent

This commit is contained in:
md_5
2016-06-26 19:32:05 +10:00
parent 568e27fbd0
commit 0ebb9c7afa
6 changed files with 13 additions and 13 deletions

View File

@@ -21,7 +21,7 @@ public class SoundTest {
@Test
public void testReverse() {
for (MinecraftKey effect : SoundEffect.a.keySet()) {
assertNotNull(effect + "", Sound.valueOf(effect.a().replace('.', '_').toUpperCase()));
assertNotNull(effect + "", Sound.valueOf(effect.a().replace('.', '_').toUpperCase(java.util.Locale.ENGLISH)));
}
}
}