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:
@@ -144,7 +144,7 @@ public class TranslationManager {
|
|||||||
});
|
});
|
||||||
|
|
||||||
Locale localLocale = Locale.getDefault();
|
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.");
|
plugin.getPluginLogger().warn(localLocale.toString().toLowerCase(Locale.ENGLISH) + ".yml not exists, using " + DEFAULT_LOCALE.toString().toLowerCase(Locale.ENGLISH) + ".yml as default locale.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user