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