mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-27 19:24:44 +02:00
Well this should fix the issues with config, but I hate it.
This commit is contained in:
@ -29,7 +29,7 @@ public class mcLocale {
|
||||
if (RESOURCE_BUNDLE == null) {
|
||||
Locale.setDefault(new Locale("en", "US"));
|
||||
Locale locale = null;
|
||||
String[] myLocale = Config.getLocale().split("[-_ ]");
|
||||
String[] myLocale = Config.getInstance().getLocale().split("[-_ ]");
|
||||
|
||||
if (myLocale.length == 1) {
|
||||
locale = new Locale(myLocale[0]);
|
||||
|
Reference in New Issue
Block a user