Added support for non-integer radius to //fill, //fillr, //drain, //fixlava, //fixwater, //snow and //thaw.

This commit is contained in:
TomyLobo
2011-08-15 14:35:21 +02:00
parent a57830706e
commit c79d90bb99
3 changed files with 20 additions and 18 deletions

View File

@ -661,7 +661,7 @@ public class WorldEdit {
* @param radius
* @throws MaxRadiusException
*/
public void checkMaxRadius(int radius) throws MaxRadiusException {
public void checkMaxRadius(double radius) throws MaxRadiusException {
if (config.maxRadius > 0 && radius > config.maxRadius) {
throw new MaxRadiusException();
}