From e0889c6c03d48fabc15adf06af811ab2bfc2fe23 Mon Sep 17 00:00:00 2001 From: kwolekr Date: Fri, 17 Apr 2015 18:39:18 -0400 Subject: [PATCH] Schematics: Fix core.schematic_create() --- src/script/lua_api/l_mapgen.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/script/lua_api/l_mapgen.cpp b/src/script/lua_api/l_mapgen.cpp index c063919ba..daa040e3b 100644 --- a/src/script/lua_api/l_mapgen.cpp +++ b/src/script/lua_api/l_mapgen.cpp @@ -1037,6 +1037,7 @@ int ModApiMapgen::l_generate_decorations(lua_State *L) int ModApiMapgen::l_create_schematic(lua_State *L) { Schematic schem; + schem.m_ndef = getServer(L)->getNodeDefManager(); Map *map = &(getEnv(L)->getMap());