mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-24 01:47:42 +01:00
[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) {
|
||||
this.shooter = (EntityLiving) damagesource.getEntity();
|
||||
this.projectileSource = (org.bukkit.projectiles.ProjectileSource) this.shooter.getBukkitEntity();
|
||||
}
|
||||
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user