Merge pull request #115

Fix error on Invigoration
This commit is contained in:
Will FP 2022-01-10 19:36:45 +00:00 committed by GitHub
commit a5b2ffe40a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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