Fixed bug in event when taking fall damage. Now uses event damage.

This commit is contained in:
Andrew Ardill 2011-02-12 22:38:37 +11:00
parent e2899b9dd7
commit be9a264249

View File

@ -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