From d45f940edb42c9ad0d60975e6b7d6434bbfc96b9 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Thu, 22 Mar 2012 17:33:32 -0400 Subject: [PATCH] Added new MELTING DamageCause. Addresses BUKKIT-1244 By: EvilSeph --- .../java/org/bukkit/event/entity/EntityDamageEvent.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/paper-api/src/main/java/org/bukkit/event/entity/EntityDamageEvent.java b/paper-api/src/main/java/org/bukkit/event/entity/EntityDamageEvent.java index ca46a68bfa..2fa2c4656e 100644 --- a/paper-api/src/main/java/org/bukkit/event/entity/EntityDamageEvent.java +++ b/paper-api/src/main/java/org/bukkit/event/entity/EntityDamageEvent.java @@ -117,6 +117,12 @@ public class EntityDamageEvent extends EntityEvent implements Cancellable { * Damage: 1 */ FIRE_TICK, + /** + * Damage caused due to a snowman melting + *

+ * Damage: 1 + */ + MELTING, /** * Damage caused by direct exposure to lava *