mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2025-01-26 01:51:19 +01:00
Fixed FlatRegionManager.getApplicableRegions to return parent regions as well.
Thanks FearThe1337 for noticing.
This commit is contained in:
parent
0789a453a2
commit
46a2510e85
@ -150,7 +150,7 @@ public ApplicableRegionSet getApplicableRegions(Vector pt) {
|
||||
|
||||
while (parent != null) {
|
||||
if (!appRegions.contains(parent)) {
|
||||
appRegions.add(region);
|
||||
appRegions.add(parent);
|
||||
}
|
||||
|
||||
parent = parent.getParent();
|
||||
|
Loading…
Reference in New Issue
Block a user