From 37140b021155ebb497aaba9015036fafc69777f3 Mon Sep 17 00:00:00 2001 From: sk89q Date: Fri, 31 Dec 2010 15:01:30 -0800 Subject: [PATCH] Fixed 'max-blocks-changed' not being loaded from configuration. --- src/WorldEditListener.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/WorldEditListener.java b/src/WorldEditListener.java index f8d14159a..3f163a13b 100755 --- a/src/WorldEditListener.java +++ b/src/WorldEditListener.java @@ -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);