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