Enable experimental //walls for non-cuboid regions.

This commit is contained in:
Matthew Miller
2018-08-30 16:42:50 +10:00
parent fdc3cd56f7
commit 8bfbc55c71
3 changed files with 7 additions and 7 deletions

View File

@ -220,7 +220,7 @@ public class RegionCommands {
@CommandPermissions("worldedit.region.walls")
@Logging(REGION)
public void walls(Player player, EditSession editSession, @Selection Region region, Pattern pattern) throws WorldEditException {
int affected = editSession.makeCuboidWalls(region, pattern);
int affected = editSession.makeWalls(region, pattern);
player.print(affected + " block(s) have been changed.");
}