mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-26 20:46:59 +01:00
814c742554
Discussion ongoing in PR #449
12 lines
465 B
Diff
12 lines
465 B
Diff
--- a/net/minecraft/server/EntitySpectralArrow.java
|
|
+++ b/net/minecraft/server/EntitySpectralArrow.java
|
|
@@ -32,7 +32,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
|
|
}
|
|
|
|
public void a(NBTTagCompound nbttagcompound) {
|