mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-11-27 21:15:57 +01:00
Don't make membership always override the BUILD flag anymore.
This commit is contained in:
parent
4597849466
commit
5a63115fb2
@ -300,7 +300,7 @@ public void testPriorityDisjointBuildDenyFlagAndMembership() {
|
|||||||
region.getOwners().addPlayer(member);
|
region.getOwners().addPlayer(member);
|
||||||
|
|
||||||
ApplicableRegionSet set = mock.getApplicableSet();
|
ApplicableRegionSet set = mock.getApplicableSet();
|
||||||
assertTrue(set.canBuild(member));
|
assertFalse(set.canBuild(member));
|
||||||
assertFalse(set.canBuild(nonMember));
|
assertFalse(set.canBuild(nonMember));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -433,7 +433,7 @@ public void testGlobalRegionBuildFlagDenyWithRegion() {
|
|||||||
region.getOwners().addPlayer(member);
|
region.getOwners().addPlayer(member);
|
||||||
|
|
||||||
ApplicableRegionSet set = mock.getApplicableSet();
|
ApplicableRegionSet set = mock.getApplicableSet();
|
||||||
assertTrue(set.canBuild(member));
|
assertFalse(set.canBuild(member));
|
||||||
assertFalse(set.canBuild(nonMember));
|
assertFalse(set.canBuild(nonMember));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user