2021-03-15 23:00:00 +01:00
|
|
|
--- a/net/minecraft/world/entity/monster/EntitySpider.java
|
|
|
|
+++ b/net/minecraft/world/entity/monster/EntitySpider.java
|
2022-12-07 17:00:00 +01:00
|
|
|
@@ -179,7 +179,7 @@
|
2021-06-11 07:00:00 +02:00
|
|
|
MobEffectList mobeffectlist = ((EntitySpider.GroupDataSpider) object).effect;
|
2018-07-20 08:04:37 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|