summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvilSeph <evilseph@gmail.com>2012-03-22 17:33:32 -0400
committerEvilSeph <evilseph@gmail.com>2012-03-22 17:33:32 -0400
commit2854528ba5626010d1d5a78cdf45fb4fa5dcd4bc (patch)
tree6227ff7dec3329f3386b749be9f7d15ec03216fc
parentec9fdd48111cad590932182277320fda2c4faac9 (diff)
downloadbukkit-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.java6
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