geforkt von Mirrors/Paper
Readd PlayerAnimationEvent constructor removed by upstream
Dieser Commit ist enthalten in:
Ursprung
29e793489c
Commit
9b68662b17
@ -49,3 +49,17 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
*/
|
||||
public class PlayerAnimationEvent extends PlayerEvent implements Cancellable {
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
@@ -0,0 +0,0 @@ public class PlayerAnimationEvent extends PlayerEvent implements Cancellable {
|
||||
animationType = playerAnimationType;
|
||||
}
|
||||
|
||||
+ // Paper start - readd old constructor
|
||||
+ @Deprecated
|
||||
+ public PlayerAnimationEvent(@NotNull final Player player) {
|
||||
+ this(player, PlayerAnimationType.ARM_SWING);
|
||||
+ }
|
||||
+ // Paper end
|
||||
+
|
||||
/**
|
||||
* Get the type of this animation event
|
||||
*
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren