mirror of
https://github.com/Samsuik/Sakura.git
synced 2025-12-28 19:29:07 +00:00
Also reset Y on Iterating Z (#32)
This commit is contained in:
@@ -58,6 +58,7 @@ public final class BlockPosIterator extends AbstractIterator<BlockPos> {
|
||||
} else if (z < this.endZ) {
|
||||
z += 1;
|
||||
x = this.startX;
|
||||
y = this.startY;
|
||||
} else {
|
||||
return this.endOfData();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user