Fixed slicing

This commit is contained in:
Auxilor
2021-06-10 14:15:51 +01:00
parent 96f2337b55
commit 658cf55190

View File

@@ -53,7 +53,7 @@ public class Slicing extends EcoEnchant {
}
double damage = this.getConfig().getDouble(EcoEnchants.CONFIG_LOCATION + "damage-per-level");
int level = EnchantChecks.getMainhandLevel(player, this);
int level = EnchantChecks.getChestplateLevel(player, this);
victim.damage(level * damage, player);
entities.add(victim);