mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-25 18:24:43 +02:00
Minor locale fixes
This commit is contained in:
@ -28,9 +28,8 @@ public class mcLocale {
|
||||
try {
|
||||
if (RESOURCE_BUNDLE == null) {
|
||||
Locale.setDefault(new Locale("en", "US"));
|
||||
String[] myLocale = Config.locale.split("[-_ ]");
|
||||
|
||||
Locale locale = null;
|
||||
String[] myLocale = Config.locale.split("[-_ ]");
|
||||
|
||||
if (myLocale.length == 1) {
|
||||
locale = new Locale(myLocale[0]);
|
||||
|
Reference in New Issue
Block a user