mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-06 04:46:40 +00:00
Added support for non-integer radius to //fill, //fillr, //drain, //fixlava, //fixwater, //snow and //thaw.
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user