Don't make membership always override the BUILD flag anymore.

This commit is contained in:
sk89q 2014-08-16 15:07:22 -07:00
parent 4597849466
commit 5a63115fb2

View File

@ -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));
} }