From: wsor4035 <24964441+wsor4035@users.noreply.github.com> Date: Tue, 21 Sep 2021 18:47:57 +0000 (-0400) Subject: Make worldedit_gui error non-fatal X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=c8afa95542ebd1f14cf46e118e94a96665f3b0ed;p=worldedit.git Make worldedit_gui error non-fatal to allow worldedit to be used in worldmods --- diff --git a/worldedit_gui/init.lua b/worldedit_gui/init.lua index 08ecc1b..378abab 100644 --- a/worldedit_gui/init.lua +++ b/worldedit_gui/init.lua @@ -216,7 +216,7 @@ elseif minetest.global_exists("sfinv") then -- sfinv installed end end else - error( + return minetest.log("error", "worldedit_gui requires a supported gui management mod to be installed.\n".. "To use the it you need to either:\n".. "* use minetest_game or another sfinv-compatible subgame\n"..