mirror of
https://github.com/PaperMC/Paper.git
synced 2025-07-27 18:22:03 -07:00
Add hand to fish event for all player interactions
This commit is contained in:
@@ -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
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user