mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 11:44:19 +01:00
65bc2541a3
By: md_5 <git@md-5.net>
11 lines
487 B
Diff
11 lines
487 B
Diff
--- a/net/minecraft/world/entity/monster/EntitySpider.java
|
|
+++ b/net/minecraft/world/entity/monster/EntitySpider.java
|
|
@@ -172,7 +172,7 @@
|
|
Holder<MobEffectList> holder = entityspider_groupdataspider.effect;
|
|
|
|
if (holder != null) {
|
|
- this.addEffect(new MobEffect(holder, -1));
|
|
+ this.addEffect(new MobEffect(holder, -1), org.bukkit.event.entity.EntityPotionEffectEvent.Cause.SPIDER_SPAWN); // CraftBukkit
|
|
}
|
|
}
|
|
|