diff --git a/plugin/src/main/java/lol/pyr/znpcsplus/npc/NpcImpl.java b/plugin/src/main/java/lol/pyr/znpcsplus/npc/NpcImpl.java index 6784dea..1b102aa 100644 --- a/plugin/src/main/java/lol/pyr/znpcsplus/npc/NpcImpl.java +++ b/plugin/src/main/java/lol/pyr/znpcsplus/npc/NpcImpl.java @@ -136,6 +136,7 @@ public class NpcImpl extends Viewable implements Npc { } private void UNSAFE_refreshProperty(EntityPropertyImpl property) { + if (!type.isAllowedProperty(property)) return; for (Player viewer : getViewers()) { List data = property.applyStandalone(viewer, entity, true); if (!data.isEmpty()) packetFactory.sendMetadata(viewer, entity, data);