diff options
Diffstat (limited to 'patch-remap/mache-spigotflower-stripped/net/minecraft/world/entity/monster/Witch.java.patch')
-rw-r--r-- | patch-remap/mache-spigotflower-stripped/net/minecraft/world/entity/monster/Witch.java.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/patch-remap/mache-spigotflower-stripped/net/minecraft/world/entity/monster/Witch.java.patch b/patch-remap/mache-spigotflower-stripped/net/minecraft/world/entity/monster/Witch.java.patch new file mode 100644 index 0000000000..433ba0519b --- /dev/null +++ b/patch-remap/mache-spigotflower-stripped/net/minecraft/world/entity/monster/Witch.java.patch @@ -0,0 +1,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 + } + } + } |