9
0
mirror of https://github.com/Xiao-MoMi/Custom-Fishing.git synced 2025-12-19 15:09:24 +00:00

Update TranslationManager.java

This commit is contained in:
XiaoMoMi
2024-09-06 01:12:12 +08:00
parent 6dc51ee4a3
commit 0644a04b1d

View File

@@ -144,7 +144,7 @@ public class TranslationManager {
});
Locale localLocale = Locale.getDefault();
if (!this.installed.contains(localLocale)) {
if (!this.installed.contains(localLocale) && FORCE_LOCALE == null) {
plugin.getPluginLogger().warn(localLocale.toString().toLowerCase(Locale.ENGLISH) + ".yml not exists, using " + DEFAULT_LOCALE.toString().toLowerCase(Locale.ENGLISH) + ".yml as default locale.");
}
}