mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Schematics: Fix core.schematic_create()
This commit is contained in:
@@ -1037,6 +1037,7 @@ int ModApiMapgen::l_generate_decorations(lua_State *L)
|
|||||||
int ModApiMapgen::l_create_schematic(lua_State *L)
|
int ModApiMapgen::l_create_schematic(lua_State *L)
|
||||||
{
|
{
|
||||||
Schematic schem;
|
Schematic schem;
|
||||||
|
schem.m_ndef = getServer(L)->getNodeDefManager();
|
||||||
|
|
||||||
Map *map = &(getEnv(L)->getMap());
|
Map *map = &(getEnv(L)->getMap());
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user