2018-07-20 08:04:37 +02:00
|
|
|
--- a/net/minecraft/server/EntityCaveSpider.java
|
|
|
|
+++ b/net/minecraft/server/EntityCaveSpider.java
|
2019-04-23 04:00:00 +02:00
|
|
|
@@ -27,7 +27,7 @@
|
2018-07-20 08:04:37 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
if (b0 > 0) {
|
|
|
|
- ((EntityLiving) entity).addEffect(new MobEffect(MobEffects.POISON, b0 * 20, 0));
|
|
|
|
+ ((EntityLiving) entity).addEffect(new MobEffect(MobEffects.POISON, b0 * 20, 0), org.bukkit.event.entity.EntityPotionEffectEvent.Cause.ATTACK); // CraftBukkit
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|