diff --git a/Plugins/Mineplex.Minecraft.Game.Core/src/mineplex/minecraft/game/core/damage/DamageManager.java b/Plugins/Mineplex.Minecraft.Game.Core/src/mineplex/minecraft/game/core/damage/DamageManager.java index daba8449a..bec0ad90c 100644 --- a/Plugins/Mineplex.Minecraft.Game.Core/src/mineplex/minecraft/game/core/damage/DamageManager.java +++ b/Plugins/Mineplex.Minecraft.Game.Core/src/mineplex/minecraft/game/core/damage/DamageManager.java @@ -282,25 +282,25 @@ public class DamageManager extends MiniPlugin for (Enchantment e : enchants.keySet()) { if (e.equals(Enchantment.PROTECTION_ENVIRONMENTAL)) - event.AddMod("Ench Prot", damagee.getName(), 0.5 * (double)enchants.get(e), false); + event.AddMod("Ench Prot", damagee.getName(), -0.5 * (double)enchants.get(e), false); else if (e.equals(Enchantment.PROTECTION_FIRE) && event.GetCause() == DamageCause.FIRE && event.GetCause() == DamageCause.FIRE_TICK && event.GetCause() == DamageCause.LAVA) - event.AddMod("Ench Prot", damagee.getName(), 0.5 * (double)enchants.get(e), false); + event.AddMod("Ench Prot", damagee.getName(), -0.5 * (double)enchants.get(e), false); else if (e.equals(Enchantment.PROTECTION_FALL) && event.GetCause() == DamageCause.FALL) - event.AddMod("Ench Prot", damagee.getName(), 0.5 * (double)enchants.get(e), false); + event.AddMod("Ench Prot", damagee.getName(), -0.5 * (double)enchants.get(e), false); else if (e.equals(Enchantment.PROTECTION_EXPLOSIONS) && event.GetCause() == DamageCause.ENTITY_EXPLOSION) - event.AddMod("Ench Prot", damagee.getName(), 0.5 * (double)enchants.get(e), false); + event.AddMod("Ench Prot", damagee.getName(), -0.5 * (double)enchants.get(e), false); else if (e.equals(Enchantment.PROTECTION_PROJECTILE) && event.GetCause() == DamageCause.PROJECTILE) - event.AddMod("Ench Prot", damagee.getName(), 0.5 * (double)enchants.get(e), false); + event.AddMod("Ench Prot", damagee.getName(), -0.5 * (double)enchants.get(e), false); } } }