Add remaining missing setLastDamageCause's

This commit is contained in:
Steve Anton
2012-07-13 21:14:56 -07:00
committed by feildmaster
parent 79189c1c13
commit 8b9aad8c2b
4 changed files with 6 additions and 3 deletions

View File

@@ -804,6 +804,7 @@ public abstract class Entity {
}
i = event.getDamage();
event.getEntity().setLastDamageCause(event);
}
// CraftBukkit end
this.damageEntity(DamageSource.FIRE, i);
@@ -1449,6 +1450,7 @@ public abstract class Entity {
return;
}
thisBukkitEntity.setLastDamageCause(event);
this.burn(event.getDamage());
// CraftBukkit end