diff --git a/mcl_modpack_ver/init.lua b/mcl_modpack_ver/init.lua index 9a91a92..eee9f17 100644 --- a/mcl_modpack_ver/init.lua +++ b/mcl_modpack_ver/init.lua @@ -3,11 +3,11 @@ --- Created by Michieal. --- DateTime: 02/07/2023 6:20 AM --- Copyright (C) 2023, Michieal. See License.txt ---- Last Update Time: 02/07/23 4:40 AM +--- Last Update Time: 02/07/23 6:55 PM --- See License.txt and Additional Terms.txt for licensing. --- If you did not receive a copy of the license with this content package, please see: --- https://www.gnu.org/licenses/gpl-3.0.en.html and https://creativecommons.org/licenses/by-sa/4.0/ - +--- local modname = minetest.get_current_modname() local modpath = minetest.get_modpath(modname) @@ -16,7 +16,7 @@ local S = minetest.get_translator(modname) -- register normal user access to debug levels 1 and 0. minetest.register_chatcommand("modpackver", { description = S("Display Mineclone 2 Plus Modpack version."), - func = function(name, params) + func = function(name, _) -- removed params variable as it was unused. local conf = Settings(modpath .. "/ver.conf") local version = conf:get("version") local game_info ={}