2023-09-21 18:40:00 +02:00
|
|
|
--- a/net/minecraft/world/effect/PoisonMobEffect.java
|
|
|
|
+++ b/net/minecraft/world/effect/PoisonMobEffect.java
|
|
|
|
@@ -12,7 +12,7 @@
|
|
|
|
public void applyEffectTick(EntityLiving entityliving, int i) {
|
|
|
|
super.applyEffectTick(entityliving, i);
|
|
|
|
if (entityliving.getHealth() > 1.0F) {
|
|
|
|
- entityliving.hurt(entityliving.damageSources().magic(), 1.0F);
|
2024-02-10 23:54:25 +01:00
|
|
|
+ entityliving.hurt(entityliving.damageSources().poison(), 1.0F); // CraftBukkit - DamageSource.MAGIC -> CraftEventFactory.POISON
|
2023-09-21 18:40:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|