mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-14 15:11:05 +01:00
remove extraneous messages
This commit is contained in:
parent
bceb9cd855
commit
8256fe6f04
1 changed files with 2 additions and 2 deletions
|
@ -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 = "<unknown version> Please upgrade your version to the newest version for the /ver command to work."
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue