From b38ffdec279bcded98e34f5116c8d676aa9f73a7 Mon Sep 17 00:00:00 2001 From: Jude Melton-Houghton Date: Tue, 18 Oct 2022 18:01:44 -0400 Subject: Implement vector and node conversion in Lua (#12609) Co-authored-by: sfan5 --- src/script/lua_api/l_client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/script/lua_api/l_client.cpp') diff --git a/src/script/lua_api/l_client.cpp b/src/script/lua_api/l_client.cpp index 9f776ae28..a1828a03b 100644 --- a/src/script/lua_api/l_client.cpp +++ b/src/script/lua_api/l_client.cpp @@ -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); } -- cgit v1.2.3