Skip to content

Commit

Permalink
fix-armor-stand-caps (IntellectualSites#4355)
Browse files Browse the repository at this point in the history
  • Loading branch information
ch4ika authored Mar 30, 2024
1 parent 82f868a commit 9be2eed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public void creatureSpawnEvent(EntitySpawnEvent event) {
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);
}
Expand Down

0 comments on commit 9be2eed

Please sign in to comment.