Fixed denyspawn flag

This commit is contained in:
DarkLiKally 2011-03-01 12:45:20 +01:00
parent 353ce7e825
commit 20f91b5258

View File

@ -405,7 +405,7 @@ public void onCreatureSpawn(CreatureSpawnEvent event) {
Boolean flagValue = mgr.getApplicableRegions(pt).getStringFlag(FlagType.DENY_SPAWN, true).getValue("").contains(creaName); Boolean flagValue = mgr.getApplicableRegions(pt).getStringFlag(FlagType.DENY_SPAWN, true).getValue("").contains(creaName);
if (flagValue != null) { if (flagValue != null) {
if (!flagValue) { if (flagValue) {
cancelEvent = true; cancelEvent = true;
} else { } else {
cancelEvent = false; cancelEvent = false;