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:
parent
859141a0ce
commit
000ec26001
6 changed files with 91 additions and 12 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue