Fixing CLI arguments for the 100th time - now with CraftBukkit comment-ey goodness.

Dieser Commit ist enthalten in:
EvilSeph 2011-04-22 00:42:56 -04:00
Ursprung c18e04ce8b
Commit 58d3107e4c

Datei anzeigen

@ -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);