Direct canApplyAtEnchantingTable through canApply Closes #740

This commit is contained in:
Lex Manos committed 2013-09-30 14:51:39 -07:00
1 parent 01cf29a202
commit 73202259fa
1 file changed
+2 -2
@@ -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.
+ * @param stack
+ * @return
+ */
+ public boolean canApplyAtEnchantingTable(ItemStack stack)
+ {
+ return this.type.canEnchantItem(stack.getItem());
+ return canApply(stack);
+ }
+
+ /**