diff --git a/src/main/java/net/minestom/server/listener/BlockPlacementListener.java b/src/main/java/net/minestom/server/listener/BlockPlacementListener.java index 72f3833ea..74fdf4c10 100644 --- a/src/main/java/net/minestom/server/listener/BlockPlacementListener.java +++ b/src/main/java/net/minestom/server/listener/BlockPlacementListener.java @@ -134,7 +134,7 @@ public class BlockPlacementListener { continue; // Marker Armor Stands should not prevent block placement - if(entity.getEntityType() == EntityType.ARMOR_STAND) { + if(entity.getEntityMeta() instanceof ArmorStandMeta) { ArmorStandMeta armorStandMeta = (ArmorStandMeta) entity.getEntityMeta(); if(armorStandMeta.isMarker()) { continue;