1
0
mirror of https://github.com/Uberi/Minetest-WorldEdit.git synced 2024-12-24 01:30:40 +01:00

Do not allow //mix with no nodes

This commit is contained in:
sfan5 2020-05-09 22:34:29 +02:00
parent 7d0811fd47
commit edd27636a6

View File

@ -574,6 +574,9 @@ worldedit.register_command("mix", {
nodes[#nodes + 1] = node
end
end
if #nodes == 0 then
return false
end
return true, nodes
end,
nodes_needed = check_region,