Skip to content

Commit

Permalink
Fixed north face not being set with non-singleblockpatterns.
Browse files Browse the repository at this point in the history
  • Loading branch information
TomyLobo committed Feb 6, 2012
1 parent 09f3364 commit ea4ee34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/sk89q/worldedit/EditSession.java
Original file line number Diff line number Diff line change
Expand Up @@ -1489,7 +1489,7 @@ public int makeCuboidFaces(Region region, Pattern pattern)
for (int x = minX; x <= maxX; ++x) {
for (int y = minY; y <= maxY; ++y) {
Vector minV = new Vector(x, y, minZ);
if (setBlock(min, pattern.next(minV))) {
if (setBlock(minV, pattern.next(minV))) {
++affected;
}
Vector maxV = new Vector(x, y, maxZ);
Expand Down

0 comments on commit ea4ee34

Please sign in to comment.