Implement vector and node conversion in Lua (#12609)

Co-authored-by: sfan5 <sfan5@live.de>
This commit is contained in:
Jude Melton-Houghton
2022-10-18 18:01:44 -04:00
committed by GitHub
parent 23e9f5db43
commit b38ffdec27
29 changed files with 191 additions and 167 deletions

View File

@@ -220,7 +220,7 @@ int ModApiClient::l_get_node_or_nil(lua_State *L)
MapNode n = getClient(L)->CSMGetNode(pos, &pos_ok);
if (pos_ok) {
// Return node
pushnode(L, n, getClient(L)->ndef());
pushnode(L, n);
} else {
lua_pushnil(L);
}