Update Upstream

954210d Fix //outline for non-cuboid regions (1827)
This commit is contained in:
NotMyFault 2021-07-13 10:59:04 +02:00
parent 6d360db753
commit 3cf283a65b
No known key found for this signature in database
GPG Key ID: 158F5701A6AAD00C

View File

@ -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;
}