mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-10 12:02:36 +01:00
b3a8254758
By: md_5 <git@md-5.net>
11 lines
482 B
Diff
11 lines
482 B
Diff
--- a/net/minecraft/world/entity/projectile/EntitySpectralArrow.java
|
|
+++ b/net/minecraft/world/entity/projectile/EntitySpectralArrow.java
|
|
@@ -45,7 +45,7 @@
|
|
super.a(entityliving);
|
|
MobEffect mobeffect = new MobEffect(MobEffects.GLOWING, this.duration, 0);
|
|
|
|
- entityliving.addEffect(mobeffect, this.x());
|
|
+ entityliving.addEffect(mobeffect, this.x(), org.bukkit.event.entity.EntityPotionEffectEvent.Cause.ARROW); // CraftBukkit
|
|
}
|
|
|
|
@Override
|