fix-armor-stand-caps (#4355)
This commit is contained in:
parent
82f868ae7d
commit
9be2eedf7f
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue