From 599bcadd1cfda37d886acb9d769d9d61b28e5ada Mon Sep 17 00:00:00 2001 From: Mrbysco Date: Wed, 25 Sep 2024 22:20:30 +0200 Subject: [PATCH] Update EnchantUtils.java --- src/main/java/com/mrbysco/forcecraft/util/EnchantUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/mrbysco/forcecraft/util/EnchantUtils.java b/src/main/java/com/mrbysco/forcecraft/util/EnchantUtils.java index 4d279561..8c5a10a8 100644 --- a/src/main/java/com/mrbysco/forcecraft/util/EnchantUtils.java +++ b/src/main/java/com/mrbysco/forcecraft/util/EnchantUtils.java @@ -19,7 +19,7 @@ public static void incrementLevel(ItemStack stack, Holder enchantme } public static void incrementLevel(ItemStack stack, Holder enchantment, int levels) { - ItemEnchantments itemenchantments = EnchantmentHelper.updateEnchantments( + EnchantmentHelper.updateEnchantments( stack, mutable -> mutable.upgrade(enchantment, levels) //TODO: Test if this works! ); }