mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-14 03:35:51 -07:00
Fixing CLI arguments for the 100th time - now with CraftBukkit comment-ey goodness.
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user