mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-12-26 11:08:02 +01:00
ALLOW on a child region should override DENY on a parent.
This commit is contained in:
parent
6e02f80f6c
commit
e7273aaf6f
@ -129,7 +129,7 @@ public void testNoPriorities() throws Exception {
|
|||||||
assertFalse(appl.allows(DefaultFlag.MOB_SPAWNING));
|
assertFalse(appl.allows(DefaultFlag.MOB_SPAWNING));
|
||||||
appl = manager.getApplicableRegions(inFountain);
|
appl = manager.getApplicableRegions(inFountain);
|
||||||
assertFalse(appl.allows(DefaultFlag.FIRE_SPREAD));
|
assertFalse(appl.allows(DefaultFlag.FIRE_SPREAD));
|
||||||
assertFalse(appl.allows(DefaultFlag.MOB_SPAWNING));
|
assertTrue(appl.allows(DefaultFlag.MOB_SPAWNING));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
Loading…
Reference in New Issue
Block a user