mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-04-23 22:05:48 +00:00
12 lines
526 B
Diff
12 lines
526 B
Diff
--- a/net/minecraft/world/entity/projectile/EntitySpectralArrow.java
|
|
+++ b/net/minecraft/world/entity/projectile/EntitySpectralArrow.java
|
|
@@ -42,7 +42,7 @@
|
|
super.doPostHurtEffects(entityliving);
|
|
MobEffect mobeffect = new MobEffect(MobEffects.GLOWING, this.duration, 0);
|
|
|
|
- entityliving.addEffect(mobeffect, this.getEffectSource());
|
|
+ entityliving.addEffect(mobeffect, this.getEffectSource(), org.bukkit.event.entity.EntityPotionEffectEvent.Cause.ARROW); // CraftBukkit
|
|
}
|
|
|
|
@Override
|