diff --git a/worldeditadditions/maze3d.lua b/worldeditadditions/maze3d.lua index 67aa7d1..703489c 100644 --- a/worldeditadditions/maze3d.lua +++ b/worldeditadditions/maze3d.lua @@ -27,7 +27,7 @@ local function generate_maze3d(seed, width, height, depth, path_length, path_wid if not path_width then path_width = 1 end if not path_depth then path_depth = 1 end - print("Generating maze "..width.."x"..height.."x"..depth.." | path: length "..path_length.." width "..path_width.." depth "..path_depth) + -- print("Generating maze "..width.."x"..height.."x"..depth.." | path: length "..path_length.." width "..path_width.." depth "..path_depth) math.randomseed(seed) -- seed the random number generator with the system clock local world = {} @@ -199,7 +199,7 @@ function worldeditadditions.maze3d(pos1, pos2, target_node, seed, path_length, p -- minetest.log("action", "pos2: " .. worldeditadditions.vector.tostring(pos2)) - minetest.log("action", "Generating "..extent.x.."x"..extent.z.."x"..extent.z.." 3d maze from pos1 " .. worldeditadditions.vector.tostring(pos1).." to pos2 "..worldeditadditions.vector.tostring(pos2)) + -- minetest.log("action", "Generating "..extent.x.."x"..extent.z.."x"..extent.z.." 3d maze from pos1 " .. worldeditadditions.vector.tostring(pos1).." to pos2 "..worldeditadditions.vector.tostring(pos2)) local maze = generate_maze3d(seed, extent.z, extent.y, extent.x, path_length, path_width, path_depth) -- x & z need to be the opposite way around to how we index it -- printspace3d(maze, extent.z, extent.y, extent.x)