fix String#toLowerCase() calls to toLowerCase(Locale.ROOT). Fixes #4957

This commit is contained in:
Xander committed 2018-03-24 17:09:44 +08:00
1 parent 2e9b95e187
commit 1415288bcf
28 files changed
+79 -37

No files matched your search

@@ -20,7 +20,7 @@ public final class ItemRegistryUtils
{
for(Map.Entry<String, ModContainer> entry : Loader.instance().getIndexedModList().entrySet())
{
modIDMap.put(entry.getKey().toLowerCase(), entry.getValue().getName());
modIDMap.put(entry.getKey().toLowerCase(Locale.ROOT), entry.getValue().getName());
}
}