3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-08 04:20:06 +01:00
Dieser Commit ist enthalten in:
MattBDev 2020-03-02 17:43:32 -05:00
Commit 95b4ce59a1

Datei anzeigen

@ -1343,9 +1343,11 @@ public class EditSession extends PassthroughExtent implements AutoCloseable {
checkNotNull(region); checkNotNull(region);
checkNotNull(pattern); checkNotNull(pattern);
CuboidRegion cuboid = CuboidRegion.makeCuboid(region); int blocksChanged = 0;
Region faces = cuboid.getWalls(); for (Region wall : CuboidRegion.makeCuboid(region).getWalls().getRegions()) {
return setBlocks(faces, pattern); blocksChanged += setBlocks(wall, pattern);
}
return blocksChanged;
} }
/** /**