aboutsummaryrefslogtreecommitdiffhomepage
path: root/patch-remap/og/net/minecraft/world/entity/projectile/EntitySpectralArrow.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patch-remap/og/net/minecraft/world/entity/projectile/EntitySpectralArrow.patch')
-rw-r--r--patch-remap/og/net/minecraft/world/entity/projectile/EntitySpectralArrow.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/patch-remap/og/net/minecraft/world/entity/projectile/EntitySpectralArrow.patch b/patch-remap/og/net/minecraft/world/entity/projectile/EntitySpectralArrow.patch
new file mode 100644
index 0000000000..292ce8948a
--- /dev/null
+++ b/patch-remap/og/net/minecraft/world/entity/projectile/EntitySpectralArrow.patch
@@ -0,0 +1,11 @@
+--- a/net/minecraft/world/entity/projectile/EntitySpectralArrow.java
++++ b/net/minecraft/world/entity/projectile/EntitySpectralArrow.java
+@@ -41,7 +41,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