Added LIGHTNING as a possible source of damage

This commit is contained in:
Dinnerbone
2011-04-21 17:29:07 +01:00
parent 6ae3a6cc7d
commit 8428739a27

View File

@@ -150,6 +150,12 @@ public class EntityDamageEvent extends EntityEvent implements Cancellable {
* Damage: 4 for players * Damage: 4 for players
*/ */
VOID, VOID,
/**
* Damage caused by being struck by lightning
*
* Damage: 5
*/
LIGHTNING,
/** /**
* Custom damage. * Custom damage.
* *