aboutsummaryrefslogtreecommitdiffhomepage
path: root/patch-remap/og/net/minecraft/world/effect/PoisonMobEffect.patch
blob: 8ad1602201abea6952f669176fc719589a6f249c (plain)
1
2
3
4
5
6
7
8
9
10
11
--- 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);
+            entityliving.hurt(entityliving.damageSources().poison, 1.0F);  // CraftBukkit - DamageSource.MAGIC -> CraftEventFactory.POISON
         }
 
     }