mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-01 20:50:41 +01:00
[Bleeding] Set projectile source for reflected fireballs. Fixes BUKKIT-5661
This commit is contained in:
parent
6f21d3ca8f
commit
5adbab524d
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue