mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-12-25 18:47:44 +01:00
Fixed denyspawn flag
This commit is contained in:
parent
353ce7e825
commit
20f91b5258
@ -405,7 +405,7 @@ public void onCreatureSpawn(CreatureSpawnEvent event) {
|
||||
|
||||
Boolean flagValue = mgr.getApplicableRegions(pt).getStringFlag(FlagType.DENY_SPAWN, true).getValue("").contains(creaName);
|
||||
if (flagValue != null) {
|
||||
if (!flagValue) {
|
||||
if (flagValue) {
|
||||
cancelEvent = true;
|
||||
} else {
|
||||
cancelEvent = false;
|
||||
|
Loading…
Reference in New Issue
Block a user