1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

[CSM] Add local node meta reference. (#5508)

This commit is contained in:
red-001 2017-04-04 06:41:37 +01:00 committed by Loïc Blot
parent 859141a0ce
commit 000ec26001
6 changed files with 91 additions and 12 deletions

View file

@ -28,6 +28,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "lua_api/l_sound.h"
#include "lua_api/l_util.h"
#include "lua_api/l_item.h"
#include "lua_api/l_nodemeta.h"
ClientScripting::ClientScripting(Client *client):
ScriptApiBase()
@ -68,4 +69,5 @@ void ClientScripting::InitializeModApi(lua_State *L, int top)
LuaItemStack::Register(L);
StorageRef::Register(L);
LuaMinimap::Register(L);
NodeMetaRef::RegisterClient(L);
}