aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/api/0473-Add-missing-fishing-event-state.patch
diff options
context:
space:
mode:
authorMalfrador <[email protected]>2024-07-15 12:31:41 +0200
committerGitHub <[email protected]>2024-07-15 12:31:41 +0200
commit9fd5b3cfbd40b2847dec14f53c1b3b68aed46f12 (patch)
tree96914d111f50e21fa04bde89a96d9237e581675b /patches/api/0473-Add-missing-fishing-event-state.patch
parent99ae7bbc9760e02fbd5388ad3890258203ee6d5a (diff)
downloadPaper-9fd5b3cfbd40b2847dec14f53c1b3b68aed46f12.tar.gz
Paper-9fd5b3cfbd40b2847dec14f53c1b3b68aed46f12.zip
Add AttributeModifier constructor without EquipmentSlotGroup (#11079)
Diffstat (limited to 'patches/api/0473-Add-missing-fishing-event-state.patch')
-rw-r--r--patches/api/0473-Add-missing-fishing-event-state.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/patches/api/0473-Add-missing-fishing-event-state.patch b/patches/api/0473-Add-missing-fishing-event-state.patch
new file mode 100644
index 0000000000..94cba543ec
--- /dev/null
+++ b/patches/api/0473-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
+ }
+ }