From ef08020c9aab6cf0c195e2433638896566a48f47 Mon Sep 17 00:00:00 2001 From: MisterE Date: Sat, 13 Aug 2022 11:02:13 -0400 Subject: [PATCH] let the game load on older clients --- mods/MTG/default/init.lua | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/mods/MTG/default/init.lua b/mods/MTG/default/init.lua index 993316b..b5c0d90 100644 --- a/mods/MTG/default/init.lua +++ b/mods/MTG/default/init.lua @@ -18,9 +18,12 @@ default.get_translator = S -- This section should be updated before release and older checks can be dropped -- when newer ones are introduced. if ItemStack("").add_wear_by_uses == nil then - error("\nThis version of Minetest Game is incompatible with your engine version ".. - "(which is too old). You should download a version of Minetest Game that ".. - "matches the installed engine version.\n") + minetest.log("error","\nThis version of Mesecraft plays better on a newer Minetest engine version".. + "(Yours is too old). You should download a version of Minetest Game that ".. + "matches the installed engine version.\n") + -- error("\nThis version of Minetest Game is incompatible with your engine version ".. + -- "(which is too old). You should download a version of Minetest Game that ".. + -- "matches the installed engine version.\n") end -- GUI related stuff