Fixed /removenear not taking a default size argument.

This commit is contained in:
sk89q
2011-01-30 22:14:36 -08:00
parent 6b996435e3
commit 6979704661
2 changed files with 13 additions and 1 deletions

View File

@ -204,7 +204,7 @@ public class UtilityCommands {
throws WorldEditException {
BaseBlock block = we.getBlock(player, args.getString(0), true);
int size = Math.max(1, args.getInteger(1));
int size = Math.max(1, args.getInteger(1, 50));
we.checkMaxRadius(size);
int affected = editSession.removeNear(