aboutsummaryrefslogtreecommitdiffhomepage
path: root/patch-remap/og/net/minecraft/world/entity/monster/EntityWitch.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patch-remap/og/net/minecraft/world/entity/monster/EntityWitch.patch')
-rw-r--r--patch-remap/og/net/minecraft/world/entity/monster/EntityWitch.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/patch-remap/og/net/minecraft/world/entity/monster/EntityWitch.patch b/patch-remap/og/net/minecraft/world/entity/monster/EntityWitch.patch
new file mode 100644
index 0000000000..27eff7ad40
--- /dev/null
+++ b/patch-remap/og/net/minecraft/world/entity/monster/EntityWitch.patch
@@ -0,0 +1,11 @@
+--- a/net/minecraft/world/entity/monster/EntityWitch.java
++++ b/net/minecraft/world/entity/monster/EntityWitch.java
+@@ -134,7 +134,7 @@
+ while (iterator.hasNext()) {
+ MobEffect mobeffect = (MobEffect) iterator.next();
+
+- this.addEffect(new MobEffect(mobeffect));
++ this.addEffect(new MobEffect(mobeffect), org.bukkit.event.entity.EntityPotionEffectEvent.Cause.ATTACK); // CraftBukkit
+ }
+ }
+ }