diff options
author | Steve Anton <anxuiz.nx@gmail.com> | 2012-07-13 21:14:56 -0700 |
---|---|---|
committer | feildmaster <admin@feildmaster.com> | 2012-07-14 17:57:31 -0500 |
commit | 8b9aad8c2b4057ab33a7bff2b8711d0d48c13568 (patch) | |
tree | a15b831c8c8ed4455854f1008f92fe24c055b9eb /src/main/java/net/minecraft/server/Entity.java | |
parent | 79189c1c13eb170226c1e73d249effe3e0e29041 (diff) | |
download | craftbukkit-8b9aad8c2b4057ab33a7bff2b8711d0d48c13568.tar craftbukkit-8b9aad8c2b4057ab33a7bff2b8711d0d48c13568.tar.gz craftbukkit-8b9aad8c2b4057ab33a7bff2b8711d0d48c13568.tar.lz craftbukkit-8b9aad8c2b4057ab33a7bff2b8711d0d48c13568.tar.xz craftbukkit-8b9aad8c2b4057ab33a7bff2b8711d0d48c13568.zip |
Add remaining missing setLastDamageCause's
Diffstat (limited to 'src/main/java/net/minecraft/server/Entity.java')
-rw-r--r-- | src/main/java/net/minecraft/server/Entity.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/net/minecraft/server/Entity.java b/src/main/java/net/minecraft/server/Entity.java index a925d5e3..c7a67cfa 100644 --- a/src/main/java/net/minecraft/server/Entity.java +++ b/src/main/java/net/minecraft/server/Entity.java @@ -804,6 +804,7 @@ public abstract class Entity { } i = event.getDamage(); + event.getEntity().setLastDamageCause(event); } // CraftBukkit end this.damageEntity(DamageSource.FIRE, i); @@ -1449,6 +1450,7 @@ public abstract class Entity { return; } + thisBukkitEntity.setLastDamageCause(event); this.burn(event.getDamage()); // CraftBukkit end |