From ccbb4b479a0674cd8940d12024e16bac943fcdbf Mon Sep 17 00:00:00 2001 From: EvilSeph Date: Thu, 22 Mar 2012 17:33:33 -0400 Subject: [PATCH] Made Snowmen use a DamageCause MELTING for melting in hot biomes. Addresses BUKKIT-1244 --- src/main/java/net/minecraft/server/EntitySnowman.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/minecraft/server/EntitySnowman.java b/src/main/java/net/minecraft/server/EntitySnowman.java index 60634ee8ef..457cb03b6c 100644 --- a/src/main/java/net/minecraft/server/EntitySnowman.java +++ b/src/main/java/net/minecraft/server/EntitySnowman.java @@ -45,7 +45,7 @@ public class EntitySnowman extends EntityGolem { int j = MathHelper.floor(this.locZ); if (this.world.getBiome(i, j).i() > 1.0F) { - EntityDamageEvent event = new EntityDamageEvent(this.getBukkitEntity(), EntityDamageEvent.DamageCause.FIRE_TICK, 1); + EntityDamageEvent event = new EntityDamageEvent(this.getBukkitEntity(), EntityDamageEvent.DamageCause.MELTING, 1); this.world.getServer().getPluginManager().callEvent(event); if (!event.isCancelled()) {