[Bleeding] Set projectile source for reflected fireballs. Fixes BUKKIT-5661

This commit is contained in:
t00thpick1 2014-06-19 22:45:57 -04:00 committed by Wesley Wolfe
parent 6f21d3ca8f
commit 5adbab524d

View file

@ -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;