mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-14 03:35:51 -07:00
Fixed bug in event when taking fall damage. Now uses event damage.
This commit is contained in:
@@ -480,7 +480,7 @@ public abstract class EntityLiving extends Entity {
|
|||||||
server.getPluginManager().callEvent(event);
|
server.getPluginManager().callEvent(event);
|
||||||
|
|
||||||
if (!event.isCancelled()){
|
if (!event.isCancelled()){
|
||||||
this.a((Entity) null, i);
|
this.a((Entity) null, event.getDamage());
|
||||||
}
|
}
|
||||||
// CraftBukkit end
|
// CraftBukkit end
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user