diff options
author | t00thpick1 <t00thpick1dirko@gmail.com> | 2014-06-19 22:45:57 -0400 |
---|---|---|
committer | Wesley Wolfe <wesley.d.wolfe+git@gmail.com> | 2014-06-22 16:52:52 -0500 |
commit | 5adbab524d5d039e3ac33f307ccd6d019639edad (patch) | |
tree | b892fe91b2889a6fc675ed92ef40db3d7057590f /src/main/java/net/minecraft/server | |
parent | 6f21d3ca8fb02001dd10f49019cfb05ed914a873 (diff) | |
download | craftbukkit-5adbab524d5d039e3ac33f307ccd6d019639edad.tar craftbukkit-5adbab524d5d039e3ac33f307ccd6d019639edad.tar.gz craftbukkit-5adbab524d5d039e3ac33f307ccd6d019639edad.tar.lz craftbukkit-5adbab524d5d039e3ac33f307ccd6d019639edad.tar.xz craftbukkit-5adbab524d5d039e3ac33f307ccd6d019639edad.zip |
[Bleeding] Set projectile source for reflected fireballs. Fixes BUKKIT-5661
Diffstat (limited to 'src/main/java/net/minecraft/server')
-rw-r--r-- | src/main/java/net/minecraft/server/EntityFireball.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/net/minecraft/server/EntityFireball.java b/src/main/java/net/minecraft/server/EntityFireball.java index d30ef5b8..937882b3 100644 --- a/src/main/java/net/minecraft/server/EntityFireball.java +++ b/src/main/java/net/minecraft/server/EntityFireball.java @@ -253,6 +253,7 @@ public abstract class EntityFireball extends Entity { if (damagesource.getEntity() instanceof EntityLiving) { this.shooter = (EntityLiving) damagesource.getEntity(); + this.projectileSource = (org.bukkit.projectiles.ProjectileSource) this.shooter.getBukkitEntity(); } return true; |