mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2025-01-05 07:57:33 +01:00
Fix regions in negative heights (#1792)
This commit is contained in:
parent
37906c0fc4
commit
bcac63dcaa
@ -316,7 +316,7 @@ public void run() {
|
||||
List<ProtectedRegion> regions = new ArrayList<>();
|
||||
ProtectedRegion chunkRegion = new ProtectedCuboidRegion(
|
||||
"_",
|
||||
position.multiply(16).toBlockVector3(0),
|
||||
position.multiply(16).toBlockVector3(Integer.MIN_VALUE),
|
||||
position.add(1, 1).multiply(16).toBlockVector3(Integer.MAX_VALUE));
|
||||
index.applyIntersecting(chunkRegion, new RegionCollectionConsumer(regions, false));
|
||||
Collections.sort(regions);
|
||||
|
Loading…
Reference in New Issue
Block a user