From 3cf283a65be6f09d878c0d6a7fe9f05efd9ea697 Mon Sep 17 00:00:00 2001 From: NotMyFault Date: Tue, 13 Jul 2021 10:59:04 +0200 Subject: [PATCH] Update Upstream 954210d Fix //outline for non-cuboid regions (1827) --- .../main/java/com/sk89q/worldedit/command/RegionCommands.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/command/RegionCommands.java b/worldedit-core/src/main/java/com/sk89q/worldedit/command/RegionCommands.java index b45cdb9d9..f04d4b6ab 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/command/RegionCommands.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/command/RegionCommands.java @@ -402,7 +402,7 @@ public class RegionCommands { public int faces(Actor actor, EditSession editSession, @Selection Region region, @Arg(desc = "The pattern of blocks to set") Pattern pattern) throws WorldEditException { - int affected = editSession.makeCuboidFaces(region, pattern); + int affected = editSession.makeFaces(region, pattern); actor.print(Caption.of("worldedit.faces.changed", TextComponent.of(affected))); return affected; }