aboutsummaryrefslogtreecommitdiffhomepage
path: root/patch-remap/mache-spigotflower-stripped/net/minecraft/world/entity/monster/Witch.java.patch
blob: 433ba0519b27e8c0eec94e8859ce2ca8b827623d (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/net/minecraft/world/entity/monster/Witch.java
+++ b/net/minecraft/world/entity/monster/Witch.java
@@ -140,7 +134,7 @@
                             while (iterator.hasNext()) {
                                 MobEffectInstance mobeffectinstance = (MobEffectInstance) iterator.next();
 
-                                this.addEffect(new MobEffectInstance(mobeffectinstance));
+                                this.addEffect(new MobEffectInstance(mobeffect), org.bukkit.event.entity.EntityPotionEffectEvent.Cause.ATTACK); // CraftBukkit
                             }
                         }
                     }