Fixed 'max-blocks-changed' not being loaded from configuration.

Dieser Commit ist enthalten in:
sk89q 2010-12-31 15:01:30 -08:00
Ursprung 78910b3a71
Commit 37140b0211

Datei anzeigen

@ -2151,7 +2151,8 @@ public class WorldEditListener extends PluginListener {
profile = properties.getBoolean("debug-profile", false);
wandItem = properties.getInt("wand-item", 271);
defaultChangeLimit = Math.max(-1, properties.getInt("max-blocks-changed", -1));
defaultChangeLimit = Math.max(-1, properties.getInt("default-max-blocks-changed", -1));
maxChangeLimit = Math.max(-1, properties.getInt("max-blocks-changed", -1));
maxRadius = Math.max(-1, properties.getInt("max-radius", -1));
maxSuperPickaxeSize = Math.max(1, properties.getInt("max-super-pickaxe-size", 5));
registerHelp = properties.getBoolean("register-help", true);