Added Enchanting on Level 1 or Higher for Upgrades
This commit is contained in:
parent
978782e2fe
commit
d538502457
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user