mirror of
https://github.com/Minestom/Minestom.git
synced 2024-06-23 21:15:01 +02: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 {
|
public class PlayerItemAnimationEvent implements PlayerEvent, EntityInstanceEvent, CancellableEvent {
|
||||||
|
|
||||||
private final Player player;
|
private final Player player;
|
||||||
private final ItemAnimationType armAnimationType;
|
private final ItemAnimationType itemAnimationType;
|
||||||
|
|
||||||
private boolean cancelled;
|
private boolean cancelled;
|
||||||
|
|
||||||
public PlayerItemAnimationEvent(@NotNull Player player, @NotNull ItemAnimationType armAnimationType) {
|
public PlayerItemAnimationEvent(@NotNull Player player, @NotNull ItemAnimationType itemAnimationType) {
|
||||||
this.player = player;
|
this.player = player;
|
||||||
this.armAnimationType = armAnimationType;
|
this.itemAnimationType = itemAnimationType;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -28,9 +28,8 @@ public class PlayerItemAnimationEvent implements PlayerEvent, EntityInstanceEven
|
||||||
*
|
*
|
||||||
* @return the animation
|
* @return the animation
|
||||||
*/
|
*/
|
||||||
@NotNull
|
public @NotNull ItemAnimationType getItemAnimationType() {
|
||||||
public ItemAnimationType getArmAnimationType() {
|
return itemAnimationType;
|
||||||
return armAnimationType;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue
Block a user