1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-12-23 08:08:47 -05:00

Schematics: Fix core.schematic_create()

This commit is contained in:
kwolekr 2015-04-17 18:39:18 -04:00
parent 5f0b36b8b7
commit e0889c6c03

View File

@ -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());