Fix region containsChunk

This commit is contained in:
Jesse Boyd 2019-12-23 06:04:12 +00:00
parent 39faa740a2
commit 7d519ade4a
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -272,7 +272,7 @@ public interface Region extends Iterable<BlockVector3>, Cloneable, IBatchProcess
int tz = bz + 15;
BlockVector3 min = getMinimumPoint();
BlockVector3 max = getMaximumPoint();
return tx >= min.getX() && bx <= max.getX() && tx >= min.getZ() && bx <= max.getZ();
return tx >= min.getX() && bx <= max.getX() && tz >= min.getZ() && bz <= max.getZ();
}
default IChunkSet processSet(IChunk chunk, IChunkGet get, IChunkSet set) {