From 9b1030cac4409b262dca73d2f0741fe78d4998ee Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Sat, 22 Aug 2020 15:45:06 +0200 Subject: Added minetest.get_inventory(location) --- src/script/lua_api/l_client.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/script/lua_api/l_client.h') 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); }; -- cgit v1.2.3