summaryrefslogtreecommitdiffstats
path: root/source/Item.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-05-09 21:09:27 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-05-09 21:09:27 +0200
commit4ac29d4cc54090cde549e1b0cf2a445f16dbf93d (patch)
tree1004687f0b8156b54f05ec169a7b89636ab4bad4 /source/Item.h
parentNoise: Added an efficient 3D cubic noise generation (diff)
downloadcuberite-4ac29d4cc54090cde549e1b0cf2a445f16dbf93d.tar
cuberite-4ac29d4cc54090cde549e1b0cf2a445f16dbf93d.tar.gz
cuberite-4ac29d4cc54090cde549e1b0cf2a445f16dbf93d.tar.bz2
cuberite-4ac29d4cc54090cde549e1b0cf2a445f16dbf93d.tar.lz
cuberite-4ac29d4cc54090cde549e1b0cf2a445f16dbf93d.tar.xz
cuberite-4ac29d4cc54090cde549e1b0cf2a445f16dbf93d.tar.zst
cuberite-4ac29d4cc54090cde549e1b0cf2a445f16dbf93d.zip
Diffstat (limited to '')
-rw-r--r--source/Item.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/Item.h b/source/Item.h
index b80eb132b..570182bae 100644
--- a/source/Item.h
+++ b/source/Item.h
@@ -99,8 +99,10 @@ class cItems // tolua_export
{ // tolua_export
public:
// tolua_begin
+
/// Need a Lua-accessible constructor
cItems(void) {}
+
cItem & Get (int a_Idx) {return at(a_Idx); }
void Set (int a_Idx, const cItem & a_Item) {at(a_Idx) = a_Item; }
void Add (const cItem & a_Item) {push_back(a_Item); }