From 986b65775f3d7a89959f569c516af8c44b4bc7e3 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Mon, 13 Jun 2022 20:02:08 +0200 Subject: [PATCH] Update engine feature checks --- mods/default/init.lua | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/mods/default/init.lua b/mods/default/init.lua index 7d27f98a..993316b8 100644 --- a/mods/default/init.lua +++ b/mods/default/init.lua @@ -17,10 +17,7 @@ default.get_translator = S -- and avoids obscure, hard to debug runtime errors. -- This section should be updated before release and older checks can be dropped -- when newer ones are introduced. -if not minetest.is_creative_enabled or not minetest.has_feature({ - direct_velocity_on_players = true, - use_texture_alpha_string_modes = true, - }) then +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")