mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-20 23:46:57 +01:00
Add missing setLastDamageCause. Thanks MonsieurApple
This commit is contained in:
parent
46125dc6cf
commit
79189c1c13
1 changed files with 1 additions and 1 deletions
|
@ -860,7 +860,7 @@ public abstract class EntityLiving extends Entity {
|
|||
} else {
|
||||
this.world.makeSound(this, "damage.fallsmall", 1.0F, 1.0F);
|
||||
}
|
||||
|
||||
this.getBukkitEntity().setLastDamageCause(event);
|
||||
this.damageEntity(DamageSource.FALL, i);
|
||||
}
|
||||
// CraftBukkit end
|
||||
|
|
Loading…
Reference in a new issue