summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Item.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Item.h b/src/Item.h
index e7fd67b9a..056b5eb8a 100644
--- a/src/Item.h
+++ b/src/Item.h
@@ -184,7 +184,8 @@ public:
void FromJson(const Json::Value & a_Value);
/** Returns true if the specified item type is enchantable.
- If WithBook is true, the function checks the enchantments with a book too. */
+ If WithBook is true, the function is used in the anvil inventory with book enchantments.
+ So it checks the "only book enchantments" too. Example: You can only enchant a hoe with a book. */
static bool IsEnchantable(short a_ItemType, bool a_WithBook = false); // tolua_export
/** Returns the enchantability of the item. When the item hasn't a enchantability, it will returns 0 */