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

This commit is contained in:
EvilSeph 2011-04-22 00:42:56 -04:00
parent c18e04ce8b
commit 58d3107e4c

View File

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