mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-08 16:12:18 -07:00
The recent upstream update moved around the event logic for EntiyDamageEvent and its derivatives. However, the event was called on every call to #hurt as it was moved out of actuallyHurt. This patch moves the invocation directly before the #actuallyHurt calls, respective invulnerable timings.