DamageCause.KILL doesn't exist in older minecraft versions of Paper's API
U5B opened this issue ยท 0 comments
https://jd.papermc.io/paper/1.19/org/bukkit/event/entity/EntityDamageEvent.DamageCause.html
There is no KILL enum, was renamed to SUICIDE.
This causes an error here:
EDIT: seems to be added in 1.20
https://jd.papermc.io/paper/1.20/org/bukkit/event/entity/EntityDamageEvent.DamageCause.html