Direct canApplyAtEnchantingTable through canApply Closes #740

This commit is contained in:
Lex Manos 2013-09-30 14:51:39 -07:00
parent 01cf29a202
commit 73202259fa
1 changed files with 2 additions and 2 deletions

View File

@ -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 <i>all possible</i> enchantments. + * applies for <i>all possible</i> enchantments.
+ * @param stack + * @param stack
+ * @return + * @return
+ */ + */
+ public boolean canApplyAtEnchantingTable(ItemStack stack) + public boolean canApplyAtEnchantingTable(ItemStack stack)
+ { + {
+ return this.type.canEnchantItem(stack.getItem()); + return canApply(stack);
+ } + }
+ +
+ /** + /**