Add notify for language loading.

Former-commit-id: 3983f822ffe23d647a516492ee588febd7b8914e
This commit is contained in:
Ghost_chu committed 2020-03-04 18:11:16 +08:00
1 parent 666328f464
commit c84a26cc61
1 file changed
+2 -1
@@ -229,6 +229,7 @@ public class MsgUtil {
}
public static void loadCfgMessages() throws InvalidConfigurationException {
plugin.getLogger().info("Loading plugin translations files...");
/* Check & Load & Create default messages.yml */
// Use try block to hook any possible exception, make sure not effect our cfgMessnages code.
String languageCode = plugin.getConfig().getString("language", "en-US");
@@ -306,7 +307,7 @@ public class MsgUtil {
inited = true;
}
/* Save the upgraded messages.yml */
plugin.getLogger().info("Completed to load plugin translations files.");
}
public static void loadEnchi18n() {