From dffb7672ffebed69c1648690603e531dfd5ac335 Mon Sep 17 00:00:00 2001 From: Jordan Date: Sun, 16 Jul 2023 15:25:07 +0100 Subject: [PATCH] fix: add missing spawn event reasons (#4110) --- .../com/plotsquared/bukkit/listener/EntityEventListener.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Bukkit/src/main/java/com/plotsquared/bukkit/listener/EntityEventListener.java b/Bukkit/src/main/java/com/plotsquared/bukkit/listener/EntityEventListener.java index 5ca02d00f..671154a2b 100644 --- a/Bukkit/src/main/java/com/plotsquared/bukkit/listener/EntityEventListener.java +++ b/Bukkit/src/main/java/com/plotsquared/bukkit/listener/EntityEventListener.java @@ -152,7 +152,8 @@ public class EntityEventListener implements Listener { } } case "REINFORCEMENTS", "NATURAL", "MOUNT", "PATROL", "RAID", "SHEARED", "SILVERFISH_BLOCK", "ENDER_PEARL", - "TRAP", "VILLAGE_DEFENSE", "VILLAGE_INVASION", "BEEHIVE", "CHUNK_GEN" -> { + "TRAP", "VILLAGE_DEFENSE", "VILLAGE_INVASION", "BEEHIVE", "CHUNK_GEN", "NETHER_PORTAL", "DEFAULT", + "DUPLICATION", "FROZEN", "SPELL" -> { if (!area.isMobSpawning()) { event.setCancelled(true); return;