mirror of
https://github.com/Minestom/Minestom.git
synced 2024-12-28 03:57:50 +01:00
Fix naming issue
This commit is contained in:
parent
1857393e1d
commit
6cc0ade409
@ -14,13 +14,13 @@ import org.jetbrains.annotations.NotNull;
|
||||
public class PlayerItemAnimationEvent implements PlayerEvent, EntityInstanceEvent, CancellableEvent {
|
||||
|
||||
private final Player player;
|
||||
private final ItemAnimationType armAnimationType;
|
||||
private final ItemAnimationType itemAnimationType;
|
||||
|
||||
private boolean cancelled;
|
||||
|
||||
public PlayerItemAnimationEvent(@NotNull Player player, @NotNull ItemAnimationType armAnimationType) {
|
||||
public PlayerItemAnimationEvent(@NotNull Player player, @NotNull ItemAnimationType itemAnimationType) {
|
||||
this.player = player;
|
||||
this.armAnimationType = armAnimationType;
|
||||
this.itemAnimationType = itemAnimationType;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -28,9 +28,8 @@ public class PlayerItemAnimationEvent implements PlayerEvent, EntityInstanceEven
|
||||
*
|
||||
* @return the animation
|
||||
*/
|
||||
@NotNull
|
||||
public ItemAnimationType getArmAnimationType() {
|
||||
return armAnimationType;
|
||||
public @NotNull ItemAnimationType getItemAnimationType() {
|
||||
return itemAnimationType;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user