Fixed serious spawn prevention issue.
This commit is contained in:
1 parent
f0e0419ebd
commit
da0f028106
3 files changed
+1
-4
No files matched your search
@@ -248,9 +248,6 @@ public class ArenaListener
|
||||
|
||||
public void onCreatureSpawn(CreatureSpawnEvent event) {
|
||||
if (!arena.getRegion().contains(event.getLocation())) {
|
||||
if (!event.isCancelled()) {
|
||||
event.setCancelled(!allowMonsters);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user