Make worldedit_gui error non-fatal
to allow worldedit to be used in worldmods
This commit is contained in:
parent
670e421f57
commit
c8afa95542
|
@ -216,7 +216,7 @@ elseif minetest.global_exists("sfinv") then -- sfinv installed
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
error(
|
return minetest.log("error",
|
||||||
"worldedit_gui requires a supported gui management mod to be installed.\n"..
|
"worldedit_gui requires a supported gui management mod to be installed.\n"..
|
||||||
"To use the it you need to either:\n"..
|
"To use the it you need to either:\n"..
|
||||||
"* use minetest_game or another sfinv-compatible subgame\n"..
|
"* use minetest_game or another sfinv-compatible subgame\n"..
|
||||||
|
|
Loading…
Reference in New Issue