From 94cb030fb55b222f67191c8a233a9347bf142900 Mon Sep 17 00:00:00 2001 From: md_5 Date: Wed, 22 Apr 2020 12:06:24 +1000 Subject: [PATCH] SPIGOT-5673: swingHand API does not show to self --- .../java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java index 9a259aa380..6146db1841 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java @@ -593,12 +593,12 @@ public class CraftLivingEntity extends CraftEntity implements LivingEntity { @Override public void swingMainHand() { - getHandle().a(EnumHand.MAIN_HAND); // PAIL rename swingHand + getHandle().a(EnumHand.MAIN_HAND, true); // PAIL rename swingHand } @Override public void swingOffHand() { - getHandle().a(EnumHand.OFF_HAND); // PAIL rename swingHand + getHandle().a(EnumHand.OFF_HAND, true); // PAIL rename swingHand } @Override