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);
|
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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user