diff options
author | feildmaster <admin@feildmaster.com> | 2012-07-13 22:57:42 -0500 |
---|---|---|
committer | feildmaster <admin@feildmaster.com> | 2012-07-13 22:57:42 -0500 |
commit | 79189c1c13eb170226c1e73d249effe3e0e29041 (patch) | |
tree | e729965471e663e08058367634f4ec796d6b484e /src | |
parent | 46125dc6cfad0d6e7c35f0c61fff088ec2c8569b (diff) | |
download | craftbukkit-79189c1c13eb170226c1e73d249effe3e0e29041.tar craftbukkit-79189c1c13eb170226c1e73d249effe3e0e29041.tar.gz craftbukkit-79189c1c13eb170226c1e73d249effe3e0e29041.tar.lz craftbukkit-79189c1c13eb170226c1e73d249effe3e0e29041.tar.xz craftbukkit-79189c1c13eb170226c1e73d249effe3e0e29041.zip |
Add missing setLastDamageCause. Thanks MonsieurApple
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/net/minecraft/server/EntityLiving.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/EntityLiving.java b/src/main/java/net/minecraft/server/EntityLiving.java index bebac89b..cf71f171 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 |