From b369683b9c56684183b5439f0d09e921617b9dea Mon Sep 17 00:00:00 2001 From: Maurice Date: Mon, 12 Feb 2024 18:19:44 +0100 Subject: [PATCH] fix: allow allay breeding (#4325) move DUPLICATION to BREEDING --- .../com/plotsquared/bukkit/listener/EntityEventListener.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 92ecc7fec..8d31f76a1 100644 --- a/Bukkit/src/main/java/com/plotsquared/bukkit/listener/EntityEventListener.java +++ b/Bukkit/src/main/java/com/plotsquared/bukkit/listener/EntityEventListener.java @@ -163,13 +163,13 @@ public class EntityEventListener implements Listener { } case "REINFORCEMENTS", "NATURAL", "MOUNT", "PATROL", "RAID", "SHEARED", "SILVERFISH_BLOCK", "ENDER_PEARL", "TRAP", "VILLAGE_DEFENSE", "VILLAGE_INVASION", "BEEHIVE", "CHUNK_GEN", "NETHER_PORTAL", - "DUPLICATION", "FROZEN", "SPELL", "DEFAULT" -> { + "FROZEN", "SPELL", "DEFAULT" -> { if (!area.isMobSpawning()) { event.setCancelled(true); return; } } - case "BREEDING" -> { + case "BREEDING", "DUPLICATION" -> { if (!area.isSpawnBreeding()) { event.setCancelled(true); return;