3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-15 02:50:09 +01:00
Paper/patches
Bjarne Koll 70b0e84476
Properly apply damage tick after absorption (#11043)
The logic in place to prevent players from processing a damage
tick/knockback/etc when hit with 0 damage incorrectly used the damage
events final damage value, which is reduced by absorption.

Instead, use the event's "raw damage", e.g. the amount passed to hurt,
in order to determine if the damage tick should be skipped.
This still allows plugins to change the damage to a non-zero value and
properly damage ticks the player in such a case, but correctly processes
the damage tick in cases where the original damage is non zero but the
actual damage is.
2024-07-08 21:20:18 +02:00
..
api Updated Upstream (Bukkit/CraftBukkit/Spigot) (#11024) 2024-07-06 21:19:14 +02:00
removed Remove fully dropped patches 2024-06-16 13:14:53 +02:00
server Properly apply damage tick after absorption (#11043) 2024-07-08 21:20:18 +02:00
unapplied/server Readd more patches 2024-07-04 12:46:15 +02:00