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