mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-24 03:25:15 +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 {
|
} else {
|
||||||
this.world.makeSound(this, "damage.fallsmall", 1.0F, 1.0F);
|
this.world.makeSound(this, "damage.fallsmall", 1.0F, 1.0F);
|
||||||
}
|
}
|
||||||
|
this.getBukkitEntity().setLastDamageCause(event);
|
||||||
this.damageEntity(DamageSource.FALL, i);
|
this.damageEntity(DamageSource.FALL, i);
|
||||||
}
|
}
|
||||||
// CraftBukkit end
|
// CraftBukkit end
|
||||||
|
Loading…
Reference in New Issue
Block a user