ALLOW on a child region should override DENY on a parent.

This commit is contained in:
sk89q 2015-01-10 18:36:12 -08:00
parent 6e02f80f6c
commit e7273aaf6f

View File

@ -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