From 493784c2dd5be894d3758b808ee1022e60c33939 Mon Sep 17 00:00:00 2001 From: Phoenix616 Date: Fri, 3 Jul 2020 17:15:36 +0100 Subject: [PATCH] Fix that the legacy locale is not automatically used --- src/main/java/com/Acrobot/ChestShop/Configuration/Messages.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/Acrobot/ChestShop/Configuration/Messages.java b/src/main/java/com/Acrobot/ChestShop/Configuration/Messages.java index bd6741f..347230c 100644 --- a/src/main/java/com/Acrobot/ChestShop/Configuration/Messages.java +++ b/src/main/java/com/Acrobot/ChestShop/Configuration/Messages.java @@ -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; }