Add Thorns to DamageCause - Related to BUKKIT-3505

By: riking <rikingcoding@gmail.com>
This commit is contained in:
Bukkit/Spigot 2013-03-23 19:40:52 -07:00
parent 631a8b51dc
commit d52aad59f3

View file

@ -188,6 +188,12 @@ public class EntityDamageEvent extends EntityEvent implements Cancellable {
* Damage: variable
*/
FALLING_BLOCK,
/**
* Damage caused in retaliation to another attack by the Thorns enchantment.
* <p />
* Damage: 1-4 (Thorns)
*/
THORNS,
/**
* Custom damage.
* <p />