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

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