mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
[Bleeding] Use event values for damage.
This commit is contained in:
1 parent
fa6fd24f2a
commit
80bae060c6
2 files changed
+3
-3
No files matched your search
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user