From 872b70846510f7f57a9122fa92a3567832104770 Mon Sep 17 00:00:00 2001 From: kabou Date: Wed, 11 May 2022 21:45:15 +0200 Subject: [PATCH] Remove unused variable. * Removed unused variable `stack_max`. --- mods/ITEMS/mcl_compass/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ITEMS/mcl_compass/init.lua b/mods/ITEMS/mcl_compass/init.lua index 55b46f6f4..010d46a7f 100644 --- a/mods/ITEMS/mcl_compass/init.lua +++ b/mods/ITEMS/mcl_compass/init.lua @@ -205,7 +205,7 @@ end) local doc_mod = minetest.get_modpath("doc") for _, item in pairs(compass_types) do - local name_fmt, img_fmt, stack_max + local name_fmt, img_fmt if item.name == "compass" then name_fmt = "mcl_compass:%d" img_fmt = "mcl_compass_compass_%02d.png"