mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-09 00:22:08 -07:00
@@ -13,6 +13,11 @@ public class PlayerAnimationEvent extends PlayerEvent implements Cancellable {
|
||||
private final PlayerAnimationType animationType;
|
||||
private boolean isCancelled = false;
|
||||
|
||||
@Deprecated
|
||||
public PlayerAnimationEvent(@NotNull final Player player) {
|
||||
this(player, PlayerAnimationType.ARM_SWING);
|
||||
}
|
||||
|
||||
/**
|
||||
* Construct a new PlayerAnimation event
|
||||
*
|
||||
|
Reference in New Issue
Block a user