diff options
author | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-04-21 17:29:07 +0100 |
---|---|---|
committer | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-04-21 17:29:07 +0100 |
commit | 626edb3eb02e0015334306fdce1367eb5346dc85 (patch) | |
tree | 963802e2e895a31ec0e3e9d73ca347801dfc0dc6 /src | |
parent | bc7d54dda4f93212e83b1cb48e64584d3415d897 (diff) | |
download | bukkit-626edb3eb02e0015334306fdce1367eb5346dc85.tar bukkit-626edb3eb02e0015334306fdce1367eb5346dc85.tar.gz bukkit-626edb3eb02e0015334306fdce1367eb5346dc85.tar.lz bukkit-626edb3eb02e0015334306fdce1367eb5346dc85.tar.xz bukkit-626edb3eb02e0015334306fdce1367eb5346dc85.zip |
Added LIGHTNING as a possible source of damage
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/bukkit/event/entity/EntityDamageEvent.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/event/entity/EntityDamageEvent.java b/src/main/java/org/bukkit/event/entity/EntityDamageEvent.java index 43f50995..d985515e 100644 --- a/src/main/java/org/bukkit/event/entity/EntityDamageEvent.java +++ b/src/main/java/org/bukkit/event/entity/EntityDamageEvent.java @@ -151,6 +151,12 @@ public class EntityDamageEvent extends EntityEvent implements Cancellable { */ VOID, /** + * Damage caused by being struck by lightning + * + * Damage: 5 + */ + LIGHTNING, + /** * Custom damage. * * Damage: variable |