mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-27 13:06:02 +01:00
Fixed bug in event when taking fall damage. Now uses event damage.
This commit is contained in:
parent
e2899b9dd7
commit
be9a264249
@ -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…
Reference in New Issue
Block a user