Add missing setLastDamageCause. Thanks MonsieurApple

This commit is contained in:
feildmaster 2012-07-13 22:57:42 -05:00
parent 46125dc6cf
commit 79189c1c13

View File

@ -860,7 +860,7 @@ public abstract class EntityLiving extends Entity {
} else {
this.world.makeSound(this, "damage.fallsmall", 1.0F, 1.0F);
}
this.getBukkitEntity().setLastDamageCause(event);
this.damageEntity(DamageSource.FALL, i);
}
// CraftBukkit end