Add Thorns to DamageCause - Related to BUKKIT-3505

This commit is contained in:
riking 2013-03-23 19:40:52 -07:00
parent 97c2758abf
commit 45147986bf

View File

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