diff options
author | EvilSeph <evilseph@gmail.com> | 2012-03-22 17:33:32 -0400 |
---|---|---|
committer | EvilSeph <evilseph@gmail.com> | 2012-03-22 17:33:32 -0400 |
commit | 2854528ba5626010d1d5a78cdf45fb4fa5dcd4bc (patch) | |
tree | 6227ff7dec3329f3386b749be9f7d15ec03216fc | |
parent | ec9fdd48111cad590932182277320fda2c4faac9 (diff) | |
download | bukkit-2854528ba5626010d1d5a78cdf45fb4fa5dcd4bc.tar bukkit-2854528ba5626010d1d5a78cdf45fb4fa5dcd4bc.tar.gz bukkit-2854528ba5626010d1d5a78cdf45fb4fa5dcd4bc.tar.lz bukkit-2854528ba5626010d1d5a78cdf45fb4fa5dcd4bc.tar.xz bukkit-2854528ba5626010d1d5a78cdf45fb4fa5dcd4bc.zip |
Added new MELTING DamageCause. Addresses BUKKIT-1244
-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 ca46a68b..2fa2c465 100644 --- a/src/main/java/org/bukkit/event/entity/EntityDamageEvent.java +++ b/src/main/java/org/bukkit/event/entity/EntityDamageEvent.java @@ -118,6 +118,12 @@ public class EntityDamageEvent extends EntityEvent implements Cancellable { */ FIRE_TICK, /** + * Damage caused due to a snowman melting + * <p /> + * Damage: 1 + */ + MELTING, + /** * Damage caused by direct exposure to lava * <p /> * Damage: 4 |