diff --git a/src/main/java/org/infernalstudios/miningmaster/recipes/GemSmithingRecipe.java b/src/main/java/org/infernalstudios/miningmaster/recipes/GemSmithingRecipe.java index e6bedb6..365c21c 100644 --- a/src/main/java/org/infernalstudios/miningmaster/recipes/GemSmithingRecipe.java +++ b/src/main/java/org/infernalstudios/miningmaster/recipes/GemSmithingRecipe.java @@ -79,7 +79,7 @@ public ItemStack assemble(Container inv) { outerLoop: for (Enchantment enchantment : enchantments) { - if (enchantment.canEnchant(itemstack) && areEnchantsCompatible(itemstack, enchantment)) { + if (itemstack.canApplyAtEnchantingTable(enchantment) && areEnchantsCompatible(itemstack, enchantment)) { ListTag nbtList = itemstack.getEnchantmentTags(); for (int i = 0; i < nbtList.size(); i++) {