diff options
author | SoSeDiK <[email protected]> | 2024-05-30 00:45:01 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2024-05-29 23:45:01 +0200 |
commit | 27d2ed84f43e7637e85f15d880fbad022038413e (patch) | |
tree | ec044b2a1d87a56fbb90d9b22a2a15ffa9377128 /patches/server/0836-More-accurate-isInOpenWater-impl.patch | |
parent | efd91e52a670a1e1bae5ad09cdffac35484c1ee2 (diff) | |
download | Paper-27d2ed84f43e7637e85f15d880fbad022038413e.tar.gz Paper-27d2ed84f43e7637e85f15d880fbad022038413e.zip |
Extend fishing API (#10634)
Adds a missing fishing state when the fish is lured and fires an event for it.
Also adds a way to control the fish swimming time towards the bobber.
Diffstat (limited to 'patches/server/0836-More-accurate-isInOpenWater-impl.patch')
-rw-r--r-- | patches/server/0836-More-accurate-isInOpenWater-impl.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/patches/server/0836-More-accurate-isInOpenWater-impl.patch b/patches/server/0836-More-accurate-isInOpenWater-impl.patch index ca26fd9045..6e110094dd 100644 --- a/patches/server/0836-More-accurate-isInOpenWater-impl.patch +++ b/patches/server/0836-More-accurate-isInOpenWater-impl.patch @@ -13,7 +13,7 @@ public net.minecraft.world.entity.projectile.FishingHook calculateOpenWater(Lnet public net.minecraft.world.entity.projectile.FishingHook outOfWaterTime diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftFishHook.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftFishHook.java -index ad1aeea80877f2cdb9e8ad9c5b46f95dd76b3335..116f23a3ee9fa409d7bc34c3769b94ed2bb07183 100644 +index 9d8f4b7176e60180565e3134a14ecf19060f2621..e0d65df2e5b4c14abeb89a5f72cc2d9fa034dcf5 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftFishHook.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftFishHook.java @@ -164,7 +164,7 @@ public class CraftFishHook extends CraftProjectile implements FishHook { |