aboutsummaryrefslogtreecommitdiffhomepage
path: root/patch-remap/og/net/minecraft/world/entity/monster/EntitySkeletonWither.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patch-remap/og/net/minecraft/world/entity/monster/EntitySkeletonWither.patch')
-rw-r--r--patch-remap/og/net/minecraft/world/entity/monster/EntitySkeletonWither.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/patch-remap/og/net/minecraft/world/entity/monster/EntitySkeletonWither.patch b/patch-remap/og/net/minecraft/world/entity/monster/EntitySkeletonWither.patch
new file mode 100644
index 0000000000..b5f342f3e1
--- /dev/null
+++ b/patch-remap/og/net/minecraft/world/entity/monster/EntitySkeletonWither.patch
@@ -0,0 +1,11 @@
+--- a/net/minecraft/world/entity/monster/EntitySkeletonWither.java
++++ b/net/minecraft/world/entity/monster/EntitySkeletonWither.java
+@@ -111,7 +111,7 @@
+ return false;
+ } else {
+ if (entity instanceof EntityLiving) {
+- ((EntityLiving) entity).addEffect(new MobEffect(MobEffects.WITHER, 200), this);
++ ((EntityLiving) entity).addEffect(new MobEffect(MobEffects.WITHER, 200), this, org.bukkit.event.entity.EntityPotionEffectEvent.Cause.ATTACK); // CraftBukkit
+ }
+
+ return true;