mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 19:49:35 +01:00
65bc2541a3
By: md_5 <git@md-5.net>
11 lines
514 B
Diff
11 lines
514 B
Diff
--- a/net/minecraft/world/effect/PoisonMobEffect.java
|
|
+++ b/net/minecraft/world/effect/PoisonMobEffect.java
|
|
@@ -11,7 +11,7 @@
|
|
@Override
|
|
public boolean applyEffectTick(EntityLiving entityliving, int i) {
|
|
if (entityliving.getHealth() > 1.0F) {
|
|
- entityliving.hurt(entityliving.damageSources().magic(), 1.0F);
|
|
+ entityliving.hurt(entityliving.damageSources().poison(), 1.0F); // CraftBukkit - DamageSource.MAGIC -> CraftEventFactory.POISON
|
|
}
|
|
|
|
return true;
|