mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 07:48:53 +01:00
11 lines
428 B
Diff
11 lines
428 B
Diff
--- a/net/minecraft/server/EntitySpectralArrow.java
|
|
+++ b/net/minecraft/server/EntitySpectralArrow.java
|
|
@@ -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
|
|
}
|
|
|
|
@Override
|