From 79189c1c13eb170226c1e73d249effe3e0e29041 Mon Sep 17 00:00:00 2001 From: feildmaster Date: Fri, 13 Jul 2012 22:57:42 -0500 Subject: [PATCH] Add missing setLastDamageCause. Thanks MonsieurApple --- src/main/java/net/minecraft/server/EntityLiving.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/minecraft/server/EntityLiving.java b/src/main/java/net/minecraft/server/EntityLiving.java index bebac89bfa..cf71f171a7 100644 --- a/src/main/java/net/minecraft/server/EntityLiving.java +++ b/src/main/java/net/minecraft/server/EntityLiving.java @@ -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