2015-05-25 12:37:24 +02:00
|
|
|
--- a/net/minecraft/server/EntitySpider.java
|
|
|
|
+++ b/net/minecraft/server/EntitySpider.java
|
2020-08-11 23:00:00 +02:00
|
|
|
@@ -136,7 +136,7 @@
|
2018-07-20 08:04:37 +02:00
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|