mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
Fixes #261 set bounds
This commit is contained in:
parent
1f19b92b0b
commit
63839bfdf6
@ -700,11 +700,11 @@ public class CuboidRegion extends AbstractRegion implements FlatRegion {
|
|||||||
minSection++;
|
minSection++;
|
||||||
}
|
}
|
||||||
if (yEnd != 15) {
|
if (yEnd != 15) {
|
||||||
filter(chunk, filter, block, get, set, minSection, localMinX, 0, localMinZ, localMaxX, 15, localMaxZ, full);
|
filter(chunk, filter, block, get, set, minSection, localMinX, 0, localMinZ, localMaxX, yEnd, localMaxZ, full);
|
||||||
maxSection--;
|
maxSection--;
|
||||||
}
|
}
|
||||||
for (int layer = minSection; layer <= maxSection; layer++) {
|
for (int layer = minSection; layer <= maxSection; layer++) {
|
||||||
filter(chunk, filter, block, get, set, layer, localMinX, yStart, localMinZ, localMaxX, yEnd, localMaxZ, full);
|
filter(chunk, filter, block, get, set, layer, localMinX, 0, localMinZ, localMaxX, 15, localMaxZ, full);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user