mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-08 11:24:11 +01:00
a265d64138
By: Initial <noreply+automated@papermc.io>
11 lines
577 B
Diff
11 lines
577 B
Diff
--- a/net/minecraft/world/effect/PoisonMobEffect.java
|
|
+++ b/net/minecraft/world/effect/PoisonMobEffect.java
|
|
@@ -14,7 +14,7 @@
|
|
@Override
|
|
public boolean applyEffectTick(WorldServer worldserver, EntityLiving entityliving, int i) {
|
|
if (entityliving.getHealth() > 1.0F) {
|
|
- entityliving.hurtServer(worldserver, entityliving.damageSources().magic(), 1.0F);
|
|
+ entityliving.hurtServer(worldserver, entityliving.damageSources().poison(), 1.0F); // CraftBukkit - DamageSource.MAGIC -> CraftEventFactory.POISON
|
|
}
|
|
|
|
return true;
|