From 73202259fafe09f3b020eec147ec3812fa4cfa2b Mon Sep 17 00:00:00 2001 From: Lex Manos Date: Mon, 30 Sep 2013 14:51:39 -0700 Subject: [PATCH] Direct canApplyAtEnchantingTable through canApply Closes #740 --- .../net/minecraft/enchantment/Enchantment.java.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); + } + + /**