From 8256fe6f046f53e76a8c70938e6a96a3bd7181f4 Mon Sep 17 00:00:00 2001 From: Michieal Date: Tue, 6 Dec 2022 22:42:04 +0000 Subject: [PATCH] remove extraneous messages --- mods/HUD/mcl_ver_info/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/HUD/mcl_ver_info/init.lua b/mods/HUD/mcl_ver_info/init.lua index 7fe83270b..632847275 100644 --- a/mods/HUD/mcl_ver_info/init.lua +++ b/mods/HUD/mcl_ver_info/init.lua @@ -7,7 +7,7 @@ local modname = minetest.get_current_modname() local S = minetest.get_translator(modname) local function xpcall_ver (error) - minetest.log("error", error) + minetest.log("info", "mcl_ver_info:: Gamepath not supported in this version of Minetest.") end local function get_game_info () @@ -50,7 +50,7 @@ minetest.register_chatcommand("ver", { end -- Notes: "game.conf doesn't support id currently, this is planned in the future" - rubenwardy from the github issue. -- TODO: Remove workaround after minetest.get_game_info().id is implemented. - if version == "" or version == nil then -- workaround for id = not being implemented yet. + if version == nil or version == "" then -- workaround for id = not being implemented yet. if game_info.id == nil or game_info.id == "" then game_info.id = " Please upgrade your version to the newest version for the /ver command to work." end