Fix that the legacy locale is not automatically used

This commit is contained in:
Phoenix616 2020-07-03 17:15:36 +01:00
parent 18c3f8f5ef
commit 493784c2dd
No known key found for this signature in database
GPG Key ID: 40E2321E71738EB0
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ public class Messages {
ChestShop.getBukkitLogger().log(Level.INFO, "As long as the legacy file is used automatic language switching based on the client settings will not be supported!");
ChestShop.getBukkitLogger().log(Level.INFO, "Import it into the corresponding language file and remove/rename the file if you don't want it anymore!");
manager.addConfig(new BukkitLanguageConfig(ChestShop.getPlugin(), "", legacyFile, "legacy", false));
Properties.DEFAULT_LANGUAGE = "legacy";
manager.setDefaultLocale("legacy");
Properties.USE_CLIENT_LOCALE = false;
}