From 36a6a353a3a662090b61075f0223e782be9a83a4 Mon Sep 17 00:00:00 2001 From: cora Date: Sat, 12 Nov 2022 14:00:38 +0100 Subject: [PATCH] Fix local construct_nodes --- mods/MAPGEN/mcl_structures/api.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/MAPGEN/mcl_structures/api.lua b/mods/MAPGEN/mcl_structures/api.lua index 120cd7c7f..b33f171d7 100644 --- a/mods/MAPGEN/mcl_structures/api.lua +++ b/mods/MAPGEN/mcl_structures/api.lua @@ -114,7 +114,7 @@ function mcl_structures.construct_nodes(p1,p2,nodes) end local function construct_nodes(pos,def,pr) - return mcl_structures.construct_nodes(vector.offset(pos,-def.sidelen/2,0,-def.sidelen/2),vector.offset(pos,def.sidelen/2,def.sidelen,def.sidelen/2)) + return mcl_structures.construct_nodes(vector.offset(pos,-def.sidelen/2,0,-def.sidelen/2),vector.offset(pos,def.sidelen/2,def.sidelen,def.sidelen/2),def.construct_nodes) end