Added DamageCause.STARVATION.

By: EvilSeph <evilseph@gmail.com>
This commit is contained in:
Bukkit/Spigot 2011-09-21 17:11:53 -04:00
parent a3e8ec7d78
commit a9cffeb33d

View File

@ -149,6 +149,12 @@ public class EntityDamageEvent extends EntityEvent implements Cancellable {
* Damage: 1000
*/
SUICIDE,
/**
* Damage caused by starving due to having an empty hunger bar
*
* Damage: 1
*/
STARVATION,
/**
* Custom damage.
*