1
0
镜像来自 https://github.com/luanti-org/luanti.git synced 2026-01-14 13:25:21 +01:00

Fix null dereference when loading schematic from definition without a NodeDefManager

This commit is contained in:
kwolekr
2015-05-17 22:32:35 -04:00
父節點 46684beec1
當前提交 20aa78cffb

查看文件

@@ -215,7 +215,8 @@ Schematic *load_schematic_from_def(lua_State *L, int index,
}
}
ndef->pendNodeResolve(schem);
if (ndef)
ndef->pendNodeResolve(schem);
return schem;
}