diff --git a/plugin/src/main/java/lol/pyr/znpcsplus/entity/properties/ForceBodyRotationProperty.java b/plugin/src/main/java/lol/pyr/znpcsplus/entity/properties/ForceBodyRotationProperty.java index 4d568a7..8a6ca71 100644 --- a/plugin/src/main/java/lol/pyr/znpcsplus/entity/properties/ForceBodyRotationProperty.java +++ b/plugin/src/main/java/lol/pyr/znpcsplus/entity/properties/ForceBodyRotationProperty.java @@ -18,7 +18,9 @@ public class ForceBodyRotationProperty extends DummyProperty { @Override public void apply(Player player, PacketEntity entity, boolean isSpawned, Map properties) { - Bukkit.getScheduler().runTaskLater(plugin, () -> entity.swingHand(player, false), 2L); - Bukkit.getScheduler().runTaskLater(plugin, () -> entity.swingHand(player, false), 6L); + if (entity.getProperty(this)) { + Bukkit.getScheduler().runTaskLater(plugin, () -> entity.swingHand(player, false), 2L); + Bukkit.getScheduler().runTaskLater(plugin, () -> entity.swingHand(player, false), 6L); + } } }