High performance Spigot fork that aims to fix gameplay and mechanics inconsistencies
Go to file
Bjarne Koll 7b21e8c8d9 Only call EntityDamageEvents before actuallyHurt
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.
2024-07-08 22:01:08 +02:00
paper-server Only call EntityDamageEvents before actuallyHurt 2024-07-08 22:01:08 +02:00