This does something idk.

This commit is contained in:
wizjany
2019-05-12 14:19:46 -04:00
committed by Matthew Miller
parent 2571efb5c3
commit dc21b4df58
6 changed files with 57 additions and 11 deletions

View File

@ -345,9 +345,9 @@ public class CuboidRegion extends AbstractRegion implements FlatRegion {
BlockVector3 answer = BlockVector3.at(nextX, nextY, nextZ);
if (++nextX > max.getBlockX()) {
nextX = min.getBlockX();
if (++nextY > max.getBlockY()) {
nextY = min.getBlockY();
if (++nextZ > max.getBlockZ()) {
if (++nextZ > max.getBlockZ()) {
nextZ = min.getBlockZ();
if (++nextY > max.getBlockY()) {
nextX = Integer.MIN_VALUE;
}
}