1
0
Fork 0
mirror of https://github.com/PaperMC/Paper.git synced 2024-12-15 11:15:41 +01:00
PaperMC/nms-patches/EntityCaveSpider.patch
2020-06-25 10:00:00 +10:00

11 lines
485 B
Diff

--- a/net/minecraft/server/EntityCaveSpider.java
+++ b/net/minecraft/server/EntityCaveSpider.java
@@ -25,7 +25,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
}
}