From f89e47ba9c9bb4db5d7cdb91aa5b88765733ee01 Mon Sep 17 00:00:00 2001 From: Gunther De Wachter Date: Thu, 17 Mar 2011 18:21:40 +0100 Subject: Added DamageType.VOID --- src/main/java/org/bukkit/event/entity/EntityDamageEvent.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/main') diff --git a/src/main/java/org/bukkit/event/entity/EntityDamageEvent.java b/src/main/java/org/bukkit/event/entity/EntityDamageEvent.java index fcb5653b..28036ddc 100644 --- a/src/main/java/org/bukkit/event/entity/EntityDamageEvent.java +++ b/src/main/java/org/bukkit/event/entity/EntityDamageEvent.java @@ -144,6 +144,12 @@ public class EntityDamageEvent extends EntityEvent implements Cancellable { * Damage: variable */ ENTITY_EXPLOSION, + /** + * Damage caused by falling into the void + * + * Damage: 4 for players + */ + VOID, /** * Custom damage. * -- cgit v1.2.3