ENTITY_DAMAGED now knows hot from wet

This commit is contained in:
Dinnerbone 2011-01-31 21:50:28 +00:00
parent c2fdd5cadd
commit 82febb3887

View file

@ -221,7 +221,7 @@ public abstract class Entity {
if(this instanceof EntityLiving) { if(this instanceof EntityLiving) {
CraftServer server = ((WorldServer) this.world).getServer(); CraftServer server = ((WorldServer) this.world).getServer();
org.bukkit.entity.Entity damagee = this.getBukkitEntity(); org.bukkit.entity.Entity damagee = this.getBukkitEntity();
DamageCause damageType = EntityDamageEvent.DamageCause.DROWNING; DamageCause damageType = EntityDamageEvent.DamageCause.FIRE_TICK;
int damageDone = 1; int damageDone = 1;
EntityDamageEvent event = new EntityDamageEvent(damagee, damageType, damageDone); EntityDamageEvent event = new EntityDamageEvent(damagee, damageType, damageDone);