Moved loading and added default locale config option

This commit is contained in:
rtm516 2020-04-05 02:58:23 +01:00
parent b5ce83bbe2
commit 845c914492
9 changed files with 54 additions and 35 deletions

View file

@ -102,6 +102,9 @@ public class GeyserBungeeConfiguration implements IGeyserConfiguration {
return config.getBoolean("allow-third-party-capes", true);
}
@Override
public String getDefaultLocale() { return config.getString("default-locale", "en_us"); }
@Override
public Path getFloodgateKeyFile() {
return Paths.get(dataFolder.toString(), config.getString("floodgate-key-file", "public-key.pem"));