mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-27 11:27:35 +01:00
Add hand to fish event for all player interactions
This commit is contained in:
parent
ac1c641fee
commit
4e6ceb54bb
@ -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
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user