diff --git a/patches/minecraft/net/minecraft/enchantment/Enchantment.java.patch b/patches/minecraft/net/minecraft/enchantment/Enchantment.java.patch index 1bf46b0b6..9a531e19a 100644 --- a/patches/minecraft/net/minecraft/enchantment/Enchantment.java.patch +++ b/patches/minecraft/net/minecraft/enchantment/Enchantment.java.patch @@ -15,14 +15,14 @@ } + /** -+ * This applies specifically to applying at the enchanting table. The other method {@link #func_92037_a(ItemStack)} ++ * This applies specifically to applying at the enchanting table. The other method {@link #canApply(ItemStack)} + * applies for all possible enchantments. + * @param stack + * @return + */ + public boolean canApplyAtEnchantingTable(ItemStack stack) + { -+ return this.type.canEnchantItem(stack.getItem()); ++ return canApply(stack); + } + + /**