From 9be2eedf7f8767578c309a0ed05522a90f710928 Mon Sep 17 00:00:00 2001 From: ch4ika <104507238+ch4ika@users.noreply.github.com> Date: Sat, 30 Mar 2024 10:30:37 +0100 Subject: [PATCH] fix-armor-stand-caps (#4355) --- .../com/plotsquared/bukkit/listener/EntitySpawnListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bukkit/src/main/java/com/plotsquared/bukkit/listener/EntitySpawnListener.java b/Bukkit/src/main/java/com/plotsquared/bukkit/listener/EntitySpawnListener.java index f1f05b653..505fee01d 100644 --- a/Bukkit/src/main/java/com/plotsquared/bukkit/listener/EntitySpawnListener.java +++ b/Bukkit/src/main/java/com/plotsquared/bukkit/listener/EntitySpawnListener.java @@ -154,7 +154,7 @@ public class EntitySpawnListener implements Listener { if (Settings.Done.RESTRICT_BUILDING && DoneFlag.isDone(plot)) { event.setCancelled(true); } - if (type == EntityType.ENDER_CRYSTAL) { + if (type == EntityType.ENDER_CRYSTAL || type == EntityType.ARMOR_STAND) { if (BukkitEntityUtil.checkEntity(entity, plot)) { event.setCancelled(true); }