Added Enchanting on Level 1 or Higher for Upgrades

This commit is contained in:
Driftay 2020-01-04 12:26:23 -05:00
parent 978782e2fe
commit d538502457
1 changed files with 2 additions and 1 deletions

View File

@ -64,8 +64,9 @@ public enum UpgradeType {
}
private ItemStack updateLevelStatus(ItemStack item, int level) {
if (level >= 2) {
if (level >= 1) {
item.setAmount(level);
enchant(item);
}
return item;
}