mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-02 06:57:30 +01:00
Fixing CLI arguments for the 100th time - now with CraftBukkit comment-ey goodness.
This commit is contained in:
parent
c18e04ce8b
commit
58d3107e4c
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ public class MinecraftServer implements Runnable, ICommandListener {
|
||||||
}
|
}
|
||||||
|
|
||||||
log.info("Loading properties");
|
log.info("Loading properties");
|
||||||
this.propertyManager = new PropertyManager(new File("server.properties"));
|
this.propertyManager = new PropertyManager(options); // CraftBukkit - CLI argument support
|
||||||
String s = this.propertyManager.getString("server-ip", "");
|
String s = this.propertyManager.getString("server-ip", "");
|
||||||
|
|
||||||
this.onlineMode = this.propertyManager.getBoolean("online-mode", true);
|
this.onlineMode = this.propertyManager.getBoolean("online-mode", true);
|
||||||
|
|
Loading…
Add table
Reference in a new issue