3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-12-26 02:50:06 +01:00

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); profile = properties.getBoolean("debug-profile", false);
wandItem = properties.getInt("wand-item", 271); 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)); maxRadius = Math.max(-1, properties.getInt("max-radius", -1));
maxSuperPickaxeSize = Math.max(1, properties.getInt("max-super-pickaxe-size", 5)); maxSuperPickaxeSize = Math.max(1, properties.getInt("max-super-pickaxe-size", 5));
registerHelp = properties.getBoolean("register-help", true); registerHelp = properties.getBoolean("register-help", true);