diff options
Diffstat (limited to 'patches/api/0474-Add-missing-fishing-event-state.patch')
-rw-r--r-- | patches/api/0474-Add-missing-fishing-event-state.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/patches/api/0474-Add-missing-fishing-event-state.patch b/patches/api/0474-Add-missing-fishing-event-state.patch new file mode 100644 index 0000000000..94cba543ec --- /dev/null +++ b/patches/api/0474-Add-missing-fishing-event-state.patch @@ -0,0 +1,24 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: SoSeDiK <[email protected]> +Date: Wed, 1 May 2024 07:44:50 +0300 +Subject: [PATCH] Add missing fishing event state + + +diff --git a/src/main/java/org/bukkit/event/player/PlayerFishEvent.java b/src/main/java/org/bukkit/event/player/PlayerFishEvent.java +index d4001f64a7ee9d5173e9bafd9c45860cbda1fc85..8b4ad421700f859396291508b178af9b51f23b0a 100644 +--- a/src/main/java/org/bukkit/event/player/PlayerFishEvent.java ++++ b/src/main/java/org/bukkit/event/player/PlayerFishEvent.java +@@ -165,5 +165,13 @@ public class PlayerFishEvent extends PlayerEvent implements Cancellable { + * in. + */ + BITE ++ // Paper start - Add missing fishing event state ++ , ++ /** ++ * Called when a bobber was lured, and is now waiting to be hooked ++ * (when a "fish" starts to swim toward the bobber to bite it). ++ */ ++ LURED, ++ // Paper end - Add missing fishing event state + } + } |