Skip to content

Commit

Permalink
Update EnchantUtils.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrbysco committed Sep 25, 2024
1 parent 2227be8 commit 599bcad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public static void incrementLevel(ItemStack stack, Holder<Enchantment> enchantme
}

public static void incrementLevel(ItemStack stack, Holder<Enchantment> enchantment, int levels) {
ItemEnchantments itemenchantments = EnchantmentHelper.updateEnchantments(
EnchantmentHelper.updateEnchantments(
stack, mutable -> mutable.upgrade(enchantment, levels) //TODO: Test if this works!
);
}
Expand Down

0 comments on commit 599bcad

Please sign in to comment.