Update Upstream

954210d Fix //outline for non-cuboid regions (1827)
Dieser Commit ist enthalten in:
NotMyFault 2021-07-13 10:59:04 +02:00
Ursprung 6d360db753
Commit 3cf283a65b
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 158F5701A6AAD00C

Datei anzeigen

@ -402,7 +402,7 @@ public class RegionCommands {
public int faces(Actor actor, EditSession editSession, @Selection Region region, public int faces(Actor actor, EditSession editSession, @Selection Region region,
@Arg(desc = "The pattern of blocks to set") @Arg(desc = "The pattern of blocks to set")
Pattern pattern) throws WorldEditException { 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))); actor.print(Caption.of("worldedit.faces.changed", TextComponent.of(affected)));
return affected; return affected;
} }