[Bleeding] Use event values for damage.

This commit is contained in:
Feildmaster
2012-02-09 17:18:50 -06:00
committed by EvilSeph
parent fa6fd24f2a
commit 80bae060c6
2 changed files with 3 additions and 3 deletions

View File

@@ -347,9 +347,9 @@ public class EntityWolf extends EntityAnimal {
if (event.isCancelled()) {
return;
}
// CraftBukkit end
entity.damageEntity(DamageSource.mobAttack(this), b0);
entity.damageEntity(DamageSource.mobAttack(this), event.getDamage());
// CraftBukkit end
}
}