diff options
author | feildmaster <admin@feildmaster.com> | 2012-12-21 15:16:06 -0600 |
---|---|---|
committer | feildmaster <admin@feildmaster.com> | 2012-12-21 15:40:39 -0600 |
commit | 0216d09033f11f664402331798988de56321a38b (patch) | |
tree | cd5705f1924024d40c9bbb16697f1081ebc3f79f | |
parent | e937307596f9ec6b562df1c3b89968fe51143813 (diff) | |
download | craftbukkit-0216d09033f11f664402331798988de56321a38b.tar craftbukkit-0216d09033f11f664402331798988de56321a38b.tar.gz craftbukkit-0216d09033f11f664402331798988de56321a38b.tar.lz craftbukkit-0216d09033f11f664402331798988de56321a38b.tar.xz craftbukkit-0216d09033f11f664402331798988de56321a38b.zip |
Fix command line arguments being ignored. Fixes BUKKIT-3247
-rw-r--r-- | src/main/java/net/minecraft/server/PropertyManager.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/net/minecraft/server/PropertyManager.java b/src/main/java/net/minecraft/server/PropertyManager.java index 3f87365a..30c4dcf8 100644 --- a/src/main/java/net/minecraft/server/PropertyManager.java +++ b/src/main/java/net/minecraft/server/PropertyManager.java @@ -103,7 +103,7 @@ public class PropertyManager { return this.getOverride(s, Integer.parseInt(this.getString(s, "" + i))); // CraftBukkit } catch (Exception exception) { this.properties.setProperty(s, "" + i); - return i; + return this.getOverride(s, i); // CraftBukkit } } @@ -112,7 +112,7 @@ public class PropertyManager { return this.getOverride(s, Boolean.parseBoolean(this.getString(s, "" + flag))); // CraftBukkit } catch (Exception exception) { this.properties.setProperty(s, "" + flag); - return flag; + return this.getOverride(s, flag); // CraftBukkit } } |