mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-16 20:53:54 -07:00
Add remaining missing setLastDamageCause's
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user