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/scripting_server.cpp | |
parent | 7e3f88f539109955b21a129e4203a1cadb913483 (diff) | |
download | hax-minetest-server-91615f9588420fd716978552fdacf1323b8df11c.tar.gz hax-minetest-server-91615f9588420fd716978552fdacf1323b8df11c.zip |
Add player:get_meta(), deprecate player attributes (#7202)
* Add player:get_meta(), deprecate player attributes
Diffstat (limited to 'src/script/scripting_server.cpp')
-rw-r--r-- | src/script/scripting_server.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/script/scripting_server.cpp b/src/script/scripting_server.cpp index 1eee24c61..93b28b61b 100644 --- a/src/script/scripting_server.cpp +++ b/src/script/scripting_server.cpp @@ -35,6 +35,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "lua_api/l_nodetimer.h" #include "lua_api/l_noise.h" #include "lua_api/l_object.h" +#include "lua_api/l_playermeta.h" #include "lua_api/l_particles.h" #include "lua_api/l_rollback.h" #include "lua_api/l_server.h" @@ -99,6 +100,7 @@ void ServerScripting::InitializeModApi(lua_State *L, int top) NodeMetaRef::Register(L); NodeTimerRef::Register(L); ObjectRef::Register(L); + PlayerMetaRef::Register(L); LuaSettings::Register(L); StorageRef::Register(L); ModChannelRef::Register(L); |