mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
Fix region containsChunk
This commit is contained in:
parent
39faa740a2
commit
7d519ade4a
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user