--- a/net/minecraft/world/entity/projectile/SpectralArrow.java
+++ b/net/minecraft/world/entity/projectile/SpectralArrow.java
@@ -12,7 +_,7 @@
 import net.minecraft.world.level.Level;
 
 public class SpectralArrow extends AbstractArrow {
-    private int duration = 200;
+    public int duration = 200;
 
     public SpectralArrow(EntityType<? extends SpectralArrow> entityType, Level level) {
         super(entityType, level);
@@ -38,7 +_,7 @@
     protected void doPostHurtEffects(LivingEntity living) {
         super.doPostHurtEffects(living);
         MobEffectInstance mobEffectInstance = new MobEffectInstance(MobEffects.GLOWING, this.duration, 0);
-        living.addEffect(mobEffectInstance, this.getEffectSource());
+        living.addEffect(mobEffectInstance, this.getEffectSource(), org.bukkit.event.entity.EntityPotionEffectEvent.Cause.ARROW); // CraftBukkit
     }
 
     @Override
