mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-09-18 21:54:50 +00: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…
Add table
Reference in a new issue