[Bleeding] Added DamageCause.POISON/MAGIC and RegainReason.MAGIC/MAGIC_REGEN for potions

This commit is contained in:
Zeerix
2012-01-14 01:25:12 +01:00
committed by Erik Broes
parent 7c7e78b914
commit fb45b3295b
2 changed files with 20 additions and 0 deletions

View File

@@ -167,6 +167,18 @@ public class EntityDamageEvent extends EntityEvent implements Cancellable {
* Damage: 1
*/
STARVATION,
/**
* Damage caused due to an ongoing poison effect
*
* Damage: 1
*/
POISON,
/**
* Damage caused by being hit by a damage potion or spell
*
* Damage: variable
*/
MAGIC,
/**
* Custom damage.
* <p />