mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-22 02:25:28 +01:00
SPIGOT-5673: swingHand API does not show to self
This commit is contained in:
parent
b331a05509
commit
94cb030fb5
@ -593,12 +593,12 @@ public class CraftLivingEntity extends CraftEntity implements LivingEntity {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void swingMainHand() {
|
public void swingMainHand() {
|
||||||
getHandle().a(EnumHand.MAIN_HAND); // PAIL rename swingHand
|
getHandle().a(EnumHand.MAIN_HAND, true); // PAIL rename swingHand
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void swingOffHand() {
|
public void swingOffHand() {
|
||||||
getHandle().a(EnumHand.OFF_HAND); // PAIL rename swingHand
|
getHandle().a(EnumHand.OFF_HAND, true); // PAIL rename swingHand
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user