13
0
geforkt von Mirrors/Paper

Fix command line arguments being ignored. Fixes BUKKIT-3247

Dieser Commit ist enthalten in:
feildmaster 2012-12-21 15:16:06 -06:00
Ursprung e937307596
Commit 0216d09033

Datei anzeigen

@ -103,7 +103,7 @@ public class PropertyManager {
return this.getOverride(s, Integer.parseInt(this.getString(s, "" + i))); // CraftBukkit return this.getOverride(s, Integer.parseInt(this.getString(s, "" + i))); // CraftBukkit
} catch (Exception exception) { } catch (Exception exception) {
this.properties.setProperty(s, "" + i); 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 return this.getOverride(s, Boolean.parseBoolean(this.getString(s, "" + flag))); // CraftBukkit
} catch (Exception exception) { } catch (Exception exception) {
this.properties.setProperty(s, "" + flag); this.properties.setProperty(s, "" + flag);
return flag; return this.getOverride(s, flag); // CraftBukkit
} }
} }