Paper/nms-patches/EntitySpectralArrow.patch

12 lines
428 B
Diff
Raw Normal View History

--- a/net/minecraft/server/EntitySpectralArrow.java
+++ b/net/minecraft/server/EntitySpectralArrow.java
2019-04-23 04:00:00 +02:00
@@ -35,7 +35,7 @@
super.a(entityliving);
MobEffect mobeffect = new MobEffect(MobEffects.GLOWING, this.duration, 0);
- entityliving.addEffect(mobeffect);
+ entityliving.addEffect(mobeffect, org.bukkit.event.entity.EntityPotionEffectEvent.Cause.ARROW); // CraftBukkit
}
2019-04-23 04:00:00 +02:00
@Override