diff options
author | rubenwardy <rw@rubenwardy.com> | 2018-04-06 09:52:29 +0100 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2018-04-06 10:52:29 +0200 |
commit | 91615f9588420fd716978552fdacf1323b8df11c (patch) | |
tree | 951b1c139c09056d0d31bc4b8e0d13fd2d69c8bb /src/script/lua_api/l_object.h | |
parent | 7e3f88f539109955b21a129e4203a1cadb913483 (diff) | |
download | minetest-91615f9588420fd716978552fdacf1323b8df11c.tar.gz minetest-91615f9588420fd716978552fdacf1323b8df11c.tar.bz2 minetest-91615f9588420fd716978552fdacf1323b8df11c.zip |
Add player:get_meta(), deprecate player attributes (#7202)
* Add player:get_meta(), deprecate player attributes
Diffstat (limited to 'src/script/lua_api/l_object.h')
-rw-r--r-- | src/script/lua_api/l_object.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/script/lua_api/l_object.h b/src/script/lua_api/l_object.h index 21c215c3f..76b8bc4a4 100644 --- a/src/script/lua_api/l_object.h +++ b/src/script/lua_api/l_object.h @@ -250,6 +250,9 @@ private: // get_attribute(self, attribute) static int l_get_attribute(lua_State *L); + // get_meta(self) + static int l_get_meta(lua_State *L); + // set_inventory_formspec(self, formspec) static int l_set_inventory_formspec(lua_State *L); |