2023-09-21 18:40:00 +02:00
|
|
|
--- a/net/minecraft/world/effect/PoisonMobEffect.java
|
|
|
|
+++ b/net/minecraft/world/effect/PoisonMobEffect.java
|
2024-10-22 17:15:00 +02:00
|
|
|
@@ -12,7 +12,7 @@
|
2024-04-23 17:15:00 +02:00
|
|
|
@Override
|
2024-10-22 17:15:00 +02:00
|
|
|
public boolean applyEffectTick(WorldServer worldserver, EntityLiving entityliving, int i) {
|
2023-09-21 18:40:00 +02:00
|
|
|
if (entityliving.getHealth() > 1.0F) {
|
2024-10-22 17:15:00 +02:00
|
|
|
- entityliving.hurtServer(worldserver, entityliving.damageSources().magic(), 1.0F);
|
|
|
|
+ entityliving.hurtServer(worldserver, entityliving.damageSources().poison(), 1.0F); // CraftBukkit - DamageSource.MAGIC -> CraftEventFactory.POISON
|
2023-09-21 18:40:00 +02:00
|
|
|
}
|
|
|
|
|
2024-04-23 17:15:00 +02:00
|
|
|
return true;
|