Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-20 01:40:06 +01:00
Fix region containsChunk
Dieser Commit ist enthalten in:
Ursprung
39faa740a2
Commit
7d519ade4a
@ -272,7 +272,7 @@ public interface Region extends Iterable<BlockVector3>, Cloneable, IBatchProcess
|
|||||||
int tz = bz + 15;
|
int tz = bz + 15;
|
||||||
BlockVector3 min = getMinimumPoint();
|
BlockVector3 min = getMinimumPoint();
|
||||||
BlockVector3 max = getMaximumPoint();
|
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) {
|
default IChunkSet processSet(IChunk chunk, IChunkGet get, IChunkSet set) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren