High performance Spigot fork that aims to fix gameplay and mechanics inconsistencies https://papermc.io/
Find a file
CraftBukkit/Spigot 87d5b5e374 Apply setLastDamageCause after processing events and the event has not been canceled. Fixes BUKKIT-1881
This allows previous causes to be available during the event, as well as making the damage cause a valid one. If EntityDamageEvent is canceled, then it's not the last DamageCause.

Also prevents setting DamageCause involuntarily through construction.

By: feildmaster <admin@feildmaster.com>
2012-07-01 05:04:06 -05:00
paper-server Apply setLastDamageCause after processing events and the event has not been canceled. Fixes BUKKIT-1881 2012-07-01 05:04:06 -05:00