--- miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/creative/GeneralContractorCommands.java 2017/03/21 13:45:27 3195 +++ miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/creative/GeneralContractorCommands.java 2017/05/29 13:03:52 3196 @@ -122,6 +122,16 @@ } return true; } + + if (label.equals("levelandfillarea") ) { + if (validateLevelOrFill(player, label, args) ) { + + levelArea(player, loc, args); + fillArea(player, loc, args); + setSurface(player, loc, args); + + } + } if ( label.equals("slopearea") ) { slopeArea(player, loc, args); @@ -145,6 +155,8 @@ } return true; } + + return false; @@ -203,8 +215,8 @@ return; } - if (radius > 20) { - player.sendMessage("platform: radius may not exceed 20"); + if (radius > 25) { + player.sendMessage("platform: radius may not exceed 25"); return; } @@ -258,8 +270,8 @@ return; } - if (radius > 20) { - player.sendMessage("setsurface: radius may not exceed 20"); + if (radius > 25) { + player.sendMessage("setsurface: radius may not exceed 25"); return; } @@ -311,8 +323,8 @@ return false; } - if (radius > 20) { - player.sendMessage(label + ": radius may not exceed 20"); + if (radius > 25) { + player.sendMessage(label + ": radius may not exceed 25"); return false; }