aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_client.h
diff options
context:
space:
mode:
authorElias Fleckenstein <eliasfleckenstein@web.de>2020-08-22 15:45:06 +0200
committerElias Fleckenstein <eliasfleckenstein@web.de>2020-08-22 15:45:06 +0200
commit9b1030cac4409b262dca73d2f0741fe78d4998ee (patch)
tree4815f2122fd6b9778d0cc0f2cedb10389157f580 /src/script/lua_api/l_client.h
parent2321e3da4c7f29ae06400e91e4e031777c6a5d9a (diff)
downloaddragonfireclient-9b1030cac4409b262dca73d2f0741fe78d4998ee.tar.xz
Added minetest.get_inventory(location)
Diffstat (limited to 'src/script/lua_api/l_client.h')
-rw-r--r--src/script/lua_api/l_client.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/script/lua_api/l_client.h b/src/script/lua_api/l_client.h
index 45c921f0d..21a540f8f 100644
--- a/src/script/lua_api/l_client.h
+++ b/src/script/lua_api/l_client.h
@@ -113,6 +113,9 @@ private:
// dig_node(pos)
static int l_dig_node(lua_State *L);
+
+ // get_inventory(location)
+ static int l_get_inventory(lua_State *L);
public:
static void Initialize(lua_State *L, int top);
};