SPIGOT-5673: swingHand API does not show to self

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot 2020-04-22 12:06:24 +10:00
parent 62583ba081
commit e9672f330b

View File

@ -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