mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
Note user that locale is loaded from locales directory
This commit is contained in:
parent
ec574a6b63
commit
5dc9c3f732
@ -111,6 +111,7 @@ public final class LocaleLoader {
|
||||
Path localePath = Paths.get(mcMMO.getLocalesDirectory() + "locale_" + locale.toString() + ".properties");
|
||||
if (Files.exists(localePath) && Files.isRegularFile(localePath)) {
|
||||
try (Reader localeReader = Files.newBufferedReader(localePath)) {
|
||||
mcMMO.p.getLogger().log(Level.INFO, "Loading locale from {0}", localePath);
|
||||
filesystemBundle = new PropertyResourceBundle(localeReader);
|
||||
} catch (IOException e) {
|
||||
mcMMO.p.getLogger().log(Level.WARNING, "Failed to load locale from " + localePath, e);
|
||||
|
Loading…
Reference in New Issue
Block a user