[Bleeding] Set projectile source for reflected fireballs. Fixes BUKKIT-5661
This commit is contained in:
parent
6f21d3ca8f
commit
5adbab524d
@ -253,6 +253,7 @@ public abstract class EntityFireball extends Entity {
|
|||||||
|
|
||||||
if (damagesource.getEntity() instanceof EntityLiving) {
|
if (damagesource.getEntity() instanceof EntityLiving) {
|
||||||
this.shooter = (EntityLiving) damagesource.getEntity();
|
this.shooter = (EntityLiving) damagesource.getEntity();
|
||||||
|
this.projectileSource = (org.bukkit.projectiles.ProjectileSource) this.shooter.getBukkitEntity();
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user