From 5ad44e7c31686f1da7b585c4479eb84e6c05aad1 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Tue, 15 Sep 2020 01:40:55 +0100 Subject: [PATCH] //forest: Fix error message on invalid on sapling/node name --- worldeditadditions_commands/commands/forest.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/worldeditadditions_commands/commands/forest.lua b/worldeditadditions_commands/commands/forest.lua index d4be63d..e780ea4 100644 --- a/worldeditadditions_commands/commands/forest.lua +++ b/worldeditadditions_commands/commands/forest.lua @@ -25,6 +25,7 @@ worldedit.register_command("forest", { ) end ) + if not success then return success, sapling_list end return success, density, sapling_list end, nodes_needed = function(name)