Added DamageCause.SUICIDE.

By: EvilSeph <evilseph@gmail.com>
This commit is contained in:
Bukkit/Spigot
2011-08-12 21:35:55 -04:00
parent 52e317ee5e
commit df275c8376

View File

@@ -143,6 +143,12 @@ public class EntityDamageEvent extends EntityEvent implements Cancellable {
* Damage: 5 * Damage: 5
*/ */
LIGHTNING, LIGHTNING,
/**
* Damage caused by committing suicide using the command "/kill"
*
* Damage: 1000
*/
SUICIDE,
/** /**
* Custom damage. * Custom damage.
* *