From c90e681aab3328899b5c064b413b6a2d122ef048 Mon Sep 17 00:00:00 2001 From: dordsor21 Date: Sat, 15 Jul 2023 17:45:02 +0100 Subject: [PATCH] fix: add missing spawn event reasons --- .../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;