diff options
Diffstat (limited to 'patch-remap/og/net/minecraft/world/entity/monster/EntityCaveSpider.patch')
-rw-r--r-- | patch-remap/og/net/minecraft/world/entity/monster/EntityCaveSpider.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/patch-remap/og/net/minecraft/world/entity/monster/EntityCaveSpider.patch b/patch-remap/og/net/minecraft/world/entity/monster/EntityCaveSpider.patch new file mode 100644 index 0000000000..b73945ea16 --- /dev/null +++ b/patch-remap/og/net/minecraft/world/entity/monster/EntityCaveSpider.patch @@ -0,0 +1,11 @@ +--- a/net/minecraft/world/entity/monster/EntityCaveSpider.java ++++ b/net/minecraft/world/entity/monster/EntityCaveSpider.java +@@ -42,7 +42,7 @@ + } + + if (b0 > 0) { +- ((EntityLiving) entity).addEffect(new MobEffect(MobEffects.POISON, b0 * 20, 0), this); ++ ((EntityLiving) entity).addEffect(new MobEffect(MobEffects.POISON, b0 * 20, 0), this, org.bukkit.event.entity.EntityPotionEffectEvent.Cause.ATTACK); // CraftBukkit + } + } + |