summaryrefslogtreecommitdiffstats
path: root/source/Item.h
diff options
context:
space:
mode:
authornielsbreu@gmail.com <nielsbreu@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-05-09 16:32:27 +0200
committernielsbreu@gmail.com <nielsbreu@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-05-09 16:32:27 +0200
commit4e44c4b33a35fcaa22d26ef1b5fc82275ef6216d (patch)
tree790673d2025c93078ce6aeb7aadaa30ebfd38c44 /source/Item.h
parentUpdated the core's settings.ini settings tab (diff)
downloadcuberite-4e44c4b33a35fcaa22d26ef1b5fc82275ef6216d.tar
cuberite-4e44c4b33a35fcaa22d26ef1b5fc82275ef6216d.tar.gz
cuberite-4e44c4b33a35fcaa22d26ef1b5fc82275ef6216d.tar.bz2
cuberite-4e44c4b33a35fcaa22d26ef1b5fc82275ef6216d.tar.lz
cuberite-4e44c4b33a35fcaa22d26ef1b5fc82275ef6216d.tar.xz
cuberite-4e44c4b33a35fcaa22d26ef1b5fc82275ef6216d.tar.zst
cuberite-4e44c4b33a35fcaa22d26ef1b5fc82275ef6216d.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 fb3999f9e..b80eb132b 100644
--- a/source/Item.h
+++ b/source/Item.h
@@ -99,6 +99,8 @@ 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); }