Added support for non-integer radius to //superpickaxe recursive and improved performance a bit by making the recurse method static.

This commit is contained in:
TomyLobo
2011-08-15 14:21:24 +02:00
parent e67ea1e769
commit a57830706e
2 changed files with 5 additions and 5 deletions

View File

@ -88,7 +88,7 @@ public class SuperPickaxeCommands {
throws WorldEditException {
LocalConfiguration config = we.getConfiguration();
int range = args.getInteger(0);
double range = args.getDouble(0);
if (range > config.maxSuperPickaxeSize) {
player.printError("Maximum range: " + config.maxSuperPickaxeSize);