2021-03-16 09:00:00 +11:00
|
|
|
--- a/net/minecraft/world/entity/monster/EntitySpider.java
|
|
|
|
+++ b/net/minecraft/world/entity/monster/EntitySpider.java
|
2023-03-15 03:30:00 +11:00
|
|
|
@@ -180,7 +180,7 @@
|
|
|
|
MobEffectList mobeffectlist = entityspider_groupdataspider.effect;
|
2018-07-20 16:04:37 +10:00
|
|
|
|
|
|
|
if (mobeffectlist != null) {
|
2023-03-15 03:30:00 +11:00
|
|
|
- this.addEffect(new MobEffect(mobeffectlist, -1));
|
|
|
|
+ this.addEffect(new MobEffect(mobeffectlist, -1), org.bukkit.event.entity.EntityPotionEffectEvent.Cause.SPIDER_SPAWN); // CraftBukkit
|
2018-07-20 16:04:37 +10:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|