//forest: Fix error message on invalid on sapling/node name

This commit is contained in:
Starbeamrainbowlabs 2020-09-15 01:40:55 +01:00
parent 36a982b314
commit 5ad44e7c31
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -25,6 +25,7 @@ worldedit.register_command("forest", {
) )
end end
) )
if not success then return success, sapling_list end
return success, density, sapling_list return success, density, sapling_list
end, end,
nodes_needed = function(name) nodes_needed = function(name)