mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-15 17:35:37 +02:00
Add player:get_meta(), deprecate player attributes (#7202)
* Add player:get_meta(), deprecate player attributes
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user