mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-24 01:47:42 +01:00
Add missing setLastDamageCause. Thanks MonsieurApple
This commit is contained in:
parent
46125dc6cf
commit
79189c1c13
@ -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 New Issue
Block a user