summaryrefslogtreecommitdiffstats
path: root/source/cItem.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-06-19 23:31:00 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-06-19 23:31:00 +0200
commited5578fd2442f375e10c5ed37c11d93e13daf564 (patch)
tree5c1be71d5a0c08f514363dac31331cf457480f8f /source/cItem.h
parentMade ForEach API safer to use, now supports Destroy()-ing objects, too ( http://forum.mc-server.org/showthread.php?tid=434&pid=3513#pid3513 ) (diff)
downloadcuberite-ed5578fd2442f375e10c5ed37c11d93e13daf564.tar
cuberite-ed5578fd2442f375e10c5ed37c11d93e13daf564.tar.gz
cuberite-ed5578fd2442f375e10c5ed37c11d93e13daf564.tar.bz2
cuberite-ed5578fd2442f375e10c5ed37c11d93e13daf564.tar.lz
cuberite-ed5578fd2442f375e10c5ed37c11d93e13daf564.tar.xz
cuberite-ed5578fd2442f375e10c5ed37c11d93e13daf564.tar.zst
cuberite-ed5578fd2442f375e10c5ed37c11d93e13daf564.zip
Diffstat (limited to 'source/cItem.h')
-rw-r--r--source/cItem.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/cItem.h b/source/cItem.h
index 0f4aa6b70..456bb40d5 100644
--- a/source/cItem.h
+++ b/source/cItem.h
@@ -95,8 +95,10 @@ public:
inline bool HasDuration() { return GetMaxDuration() > 0; }
+ // tolua_end
void GetJson( Json::Value & a_OutValue ) const;
void FromJson( const Json::Value & a_Value );
+ // tolua_begin
static bool IsEnchantable(ENUM_ITEM_ID item);