diff options
Diffstat (limited to 'nms-patches/EntitySpider.patch')
-rw-r--r-- | nms-patches/EntitySpider.patch | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/nms-patches/EntitySpider.patch b/nms-patches/EntitySpider.patch index ce14684d..1820e8df 100644 --- a/nms-patches/EntitySpider.patch +++ b/nms-patches/EntitySpider.patch @@ -9,3 +9,12 @@ entityskeleton.startRiding(this); } +@@ -130,7 +130,7 @@ + MobEffectList mobeffectlist = ((EntitySpider.GroupDataSpider) object).a; + + if (mobeffectlist != null) { +- this.addEffect(new MobEffect(mobeffectlist, Integer.MAX_VALUE)); ++ this.addEffect(new MobEffect(mobeffectlist, Integer.MAX_VALUE), org.bukkit.event.entity.EntityPotionEffectEvent.Cause.SPIDER_SPAWN); // CraftBukkit + } + } + |