From bded4fb316868e674f66c35b66e66b19c6dd0e90 Mon Sep 17 00:00:00 2001 From: Dinnerbone Date: Thu, 20 Jan 2011 00:41:35 +0000 Subject: [PATCH] Fixed CLI arguments --- 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 0d8a1bd03e..01169d6d49 100644 --- a/src/main/java/net/minecraft/server/MinecraftServer.java +++ b/src/main/java/net/minecraft/server/MinecraftServer.java @@ -67,7 +67,7 @@ public class MinecraftServer implements ICommandListener, Runnable { a.warning("To start the server with more ram, launch it as \"java -Xmx1024M -Xms1024M -jar minecraft_server.jar\""); } a.info("Loading properties"); - d = new PropertyManager(new File("server.properties")); + d = new PropertyManager(options); String s = d.a("server-ip", ""); l = d.a("online-mode", true);