Paper/paper-server/patches/sources/net/minecraft
Jake Potrebic c6b07ad816 Fix cancelling ProjectileHitEvent for piercing arrows
Piercing arrows search for multiple entities inside a while
loop that is checking the projectile entity's removed state.
If the hit event is cancelled on the first entity, the event will
be called over and over again inside that while loop until the event
is not cancelled. The solution here, is to make use of an
already-existing field on AbstractArrow for tracking entities hit by
piercing arrows to avoid duplicate damage being applied.

== AT ==
protected net.minecraft.world.entity.projectile.Projectile hitCancelled
2022-02-19 19:05:59 -08:00
..
advancements Add more advancement API 2021-07-09 18:50:40 +02:00
commands Vanilla command permission fixes 2021-08-25 13:19:53 -07:00
core Correctly check if bucket dispenses will succeed for event 2024-01-01 12:57:19 -08:00
nbt Reduce memory footprint of CompoundTag 2020-04-06 17:39:25 -07:00
network Multi Block Change API Implementation 2022-01-14 00:41:11 -05:00
resources Sanitize ResourceLocation error logging 2021-08-26 12:09:47 +02:00
server Force close world loading screen 2022-03-02 09:45:56 +01:00
stats Allow statistics to be disabled/forced 2014-01-07 15:56:26 +00:00
util Validate usernames 2022-01-01 05:19:37 -08:00
world Fix cancelling ProjectileHitEvent for piercing arrows 2022-02-19 19:05:59 -08:00
ChatFormatting.java.patch Adventure 2021-01-29 17:54:03 +01:00
CrashReport.java.patch Deobfuscate stacktraces in log messages, crash reports, and etc. 2021-06-20 18:19:09 -07:00
CrashReportCategory.java.patch Deobfuscate stacktraces in log messages, crash reports, and etc. 2021-06-20 18:19:09 -07:00
Util.java.patch Remove client-side code using deprecated for removal AccessController 2021-11-26 15:09:58 -08:00