From 82febb3887fa1ca3de2fb364ea01b1847964e4d2 Mon Sep 17 00:00:00 2001 From: Dinnerbone Date: Mon, 31 Jan 2011 21:50:28 +0000 Subject: [PATCH] ENTITY_DAMAGED now knows hot from wet --- src/main/java/net/minecraft/server/Entity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/minecraft/server/Entity.java b/src/main/java/net/minecraft/server/Entity.java index 7b574d2eb0..cbb65852f4 100644 --- a/src/main/java/net/minecraft/server/Entity.java +++ b/src/main/java/net/minecraft/server/Entity.java @@ -221,7 +221,7 @@ public abstract class Entity { if(this instanceof EntityLiving) { CraftServer server = ((WorldServer) this.world).getServer(); org.bukkit.entity.Entity damagee = this.getBukkitEntity(); - DamageCause damageType = EntityDamageEvent.DamageCause.DROWNING; + DamageCause damageType = EntityDamageEvent.DamageCause.FIRE_TICK; int damageDone = 1; EntityDamageEvent event = new EntityDamageEvent(damagee, damageType, damageDone);