mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2025-01-21 22:31:20 +01:00
Fix that the legacy locale is not automatically used
This commit is contained in:
parent
18c3f8f5ef
commit
493784c2dd
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user