mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Fix null dereference when loading schematic from definition without a NodeDefManager
This commit is contained in:
@@ -215,6 +215,7 @@ Schematic *load_schematic_from_def(lua_State *L, int index,
|
||||
}
|
||||
}
|
||||
|
||||
if (ndef)
|
||||
ndef->pendNodeResolve(schem);
|
||||
|
||||
return schem;
|
||||
|
Reference in New Issue
Block a user