mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-04 22:14:40 +01:00
814c742554
Discussion ongoing in PR #449
11 lines
485 B
Diff
11 lines
485 B
Diff
--- a/net/minecraft/server/EntityCaveSpider.java
|
|
+++ b/net/minecraft/server/EntityCaveSpider.java
|
|
@@ -26,7 +26,7 @@
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|
|
|