diff --git a/src/main/java/atomicstryker/infernalmobs/common/mods/MM_Vengeance.java b/src/main/java/atomicstryker/infernalmobs/common/mods/MM_Vengeance.java index 404af571..5d7c6fef 100644 --- a/src/main/java/atomicstryker/infernalmobs/common/mods/MM_Vengeance.java +++ b/src/main/java/atomicstryker/infernalmobs/common/mods/MM_Vengeance.java @@ -24,7 +24,7 @@ public float onHurt(EntityLivingBase mob, DamageSource source, float damage) { if (source.getEntity() != null && source.getEntity() != mob && !InfernalMobsCore.instance().isInfiniteLoop(mob, source.getEntity())) { - float reflectedDamage = Math.min(mob.getHealth(), Math.max(damage * reflectMultiplier, 1)); + float reflectedDamage = Math.max(Math.min(damage, mob.getHealth()) * reflectMultiplier, 1); if (maxReflectDamage > 0.0f) { reflectedDamage = Math.min(maxReflectDamage, reflectedDamage);