SPIGOT-5673: swingHand API does not show to self

This commit is contained in:
md_5 2020-04-22 12:06:24 +10:00
parent b331a05509
commit 94cb030fb5

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