Merge pull request #121

Fixed Invigoration giving invulnerability
This commit is contained in:
Will FP 2022-01-18 08:33:20 +00:00 committed by GitHub
commit b3aae456a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,7 +41,6 @@ public class Invigoration extends EcoEnchant {
}
double damageReduction = totalInvigorationPoints * this.getConfig().getDouble(EcoEnchants.CONFIG_LOCATION + "reduction-multiplier") * 0.01;
damageReduction -= 1;
event.setDamage(event.getDamage() * damageReduction);
}