This commit is contained in:
dordsor21 2021-09-17 14:54:51 +01:00
parent 74697ee312
commit 5093569ce0
No known key found for this signature in database
GPG Key ID: 1E53E88969FFCF0B

View File

@ -248,7 +248,7 @@ public interface Region extends Iterable<BlockVector3>, Cloneable, IBatchProcess
int maxSection = Math.min(get.getMaxSectionPosition(), getMaximumY() >> 4);
block = block.initChunk(chunk.getX(), chunk.getZ());
for (int layer = minSection; layer <= maxSection; layer++) {
if ((!full && !set.hasSection(layer)) || !filter.appliesLayer(chunk, layer)) {
if ((!full && !get.hasSection(layer)) || !filter.appliesLayer(chunk, layer)) {
return;
}
block = block.initLayer(get, set, layer);