[Bleeding] Added DamageCause.POISON/MAGIC and RegainReason.MAGIC/MAGIC_REGEN for potions
This commit is contained in:
@@ -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 />
|
||||
|
||||
Reference in New Issue
Block a user