mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-15 12:02:49 +01:00
Fixed bug in event when taking fall damage. Now uses event damage.
This commit is contained in:
parent
e2899b9dd7
commit
be9a264249
1 changed files with 1 additions and 1 deletions
|
@ -480,7 +480,7 @@ public abstract class EntityLiving extends Entity {
|
|||
server.getPluginManager().callEvent(event);
|
||||
|
||||
if (!event.isCancelled()){
|
||||
this.a((Entity) null, i);
|
||||
this.a((Entity) null, event.getDamage());
|
||||
}
|
||||
// CraftBukkit end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue