diff options
author | Hownaer <franzi.moos@googlemail.com> | 2014-08-28 15:21:38 +0200 |
---|---|---|
committer | Hownaer <franzi.moos@googlemail.com> | 2014-08-28 15:21:38 +0200 |
commit | f1470fcf9f1dc907241a645614cdcd5547dc1dbd (patch) | |
tree | dc6aa1f14dc73273933b53a5faee39e94f5bc9c9 /src/Item.h | |
parent | Fixed crashes and use std::swap. (diff) | |
download | cuberite-f1470fcf9f1dc907241a645614cdcd5547dc1dbd.tar cuberite-f1470fcf9f1dc907241a645614cdcd5547dc1dbd.tar.gz cuberite-f1470fcf9f1dc907241a645614cdcd5547dc1dbd.tar.bz2 cuberite-f1470fcf9f1dc907241a645614cdcd5547dc1dbd.tar.lz cuberite-f1470fcf9f1dc907241a645614cdcd5547dc1dbd.tar.xz cuberite-f1470fcf9f1dc907241a645614cdcd5547dc1dbd.tar.zst cuberite-f1470fcf9f1dc907241a645614cdcd5547dc1dbd.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Item.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Item.h b/src/Item.h index d8b9e78a0..61011d861 100644 --- a/src/Item.h +++ b/src/Item.h @@ -184,7 +184,7 @@ public: void FromJson(const Json::Value & a_Value); /** Returns true if the specified item type is enchantable (as per 1.2.5 protocol requirements) */ - static bool IsEnchantable(short a_ItemType); // tolua_export + 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 */ int GetEnchantability(); // tolua_export |