Add hand to fish event for all player interactions

This commit is contained in:
booky10 2023-07-03 01:55:32 +02:00
parent ac1c641fee
commit 4e6ceb54bb

View File

@ -94,8 +94,9 @@ public class PlayerFishEvent extends PlayerEvent implements Cancellable {
/** /**
* Get the hand that was used in this event. * Get the hand that was used in this event.
* <p> * <p>
* The hand used is only present when the event state is {@link State#FISHING}. * The hand used is only present for player interactions.
* In all other states, the hand is null. * This means it will be null if state is set
* to {@link State#BITE} or {@link State#FAILED_ATTEMPT}.
* *
* @return the hand * @return the hand
*/ */