From 58d3107e4c60138c35a043cf63b9f3490f6bdf95 Mon Sep 17 00:00:00 2001 From: EvilSeph Date: Fri, 22 Apr 2011 00:42:56 -0400 Subject: [PATCH] Fixing CLI arguments for the 100th time - now with CraftBukkit comment-ey goodness. --- src/main/java/net/minecraft/server/MinecraftServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java index a7fed1fe7d..ce5df4146b 100644 --- a/src/main/java/net/minecraft/server/MinecraftServer.java +++ b/src/main/java/net/minecraft/server/MinecraftServer.java @@ -91,7 +91,7 @@ public class MinecraftServer implements Runnable, ICommandListener { } 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", ""); this.onlineMode = this.propertyManager.getBoolean("online-mode", true);