1
0
Fork 0
mirror of https://github.com/PaperMC/Paper.git synced 2025-02-17 18:47:40 +01:00
PaperMC/paper-server
Warrior 605fb41674 More accurate isInOpenWater impl
For fishing hooks, the openWater field is true by default, and only calculated when a "fish" is approaching the bobber.
This patch changes the API impl to calculate the open water state itself instead of returning this field.

Relevant link: https://github.com/PaperMC/Paper/issues/9131

== AT ==
public net.minecraft.world.entity.projectile.FishingHook calculateOpenWater(Lnet/minecraft/core/BlockPos;)Z
public net.minecraft.world.entity.projectile.FishingHook outOfWaterTime
2023-05-07 22:33:50 +02:00
..
patches/sources Avoid Lazy Initialization for Enum Fields 2023-05-14 00:47:28 -04:00
src More accurate isInOpenWater impl 2023-05-07 22:33:50 +02:00
.gitignore Setup Gradle project 2020-12-10 20:54:19 -08:00
build.gradle.kts Add support for Proxy Protocol 2022-04-07 16:13:39 +02:00
LGPL.txt
LICENCE.txt