mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-29 22:13:42 +01:00
12 lines
515 B
Diff
12 lines
515 B
Diff
--- a/net/minecraft/server/EntitySpider.java
|
|
+++ b/net/minecraft/server/EntitySpider.java
|
|
@@ -136,7 +136,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
|
|
}
|
|
}
|
|
|