SPIGOT-4700: Add PlayerFishEvent.State.REEL_IN

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot
2019-04-15 20:43:00 +10:00
parent cee3fdd2e6
commit 1757ce61c0

View File

@@ -129,10 +129,14 @@ public class PlayerFishEvent extends PlayerEvent implements Cancellable {
*/ */
IN_GROUND, IN_GROUND,
/** /**
* When a player fails to catch anything while fishing usually due to * When a player fails to catch a bite while fishing usually due to
* poor aiming or timing. * poor timing.
*/ */
FAILED_ATTEMPT, FAILED_ATTEMPT,
/**
* When a player reels in their hook without receiving any bites.
*/
REEL_IN,
/** /**
* Called when there is a bite on the hook and it is ready to be reeled * Called when there is a bite on the hook and it is ready to be reeled
* in. * in.