forked from GeyserMC/Geyser
Moved loading and added default locale config option
This commit is contained in:
parent
b5ce83bbe2
commit
845c914492
9 changed files with 54 additions and 35 deletions
|
@ -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"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue