From 8931576c5067b6fba2d3ece31dd7a5f299d70d4e Mon Sep 17 00:00:00 2001 From: nixnoxus Date: Wed, 27 Mar 2024 00:20:12 +0000 Subject: [PATCH] fix 'WARNING[Main]: Undeclared global variable ' in mcl_colorblocks (#4203) fix WARNING: Undeclared global variable Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4203 Reviewed-by: the-real-herowl Co-authored-by: nixnoxus Co-committed-by: nixnoxus --- mods/ITEMS/mcl_colorblocks/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/ITEMS/mcl_colorblocks/init.lua b/mods/ITEMS/mcl_colorblocks/init.lua index f865628a3..dff30484a 100644 --- a/mods/ITEMS/mcl_colorblocks/init.lua +++ b/mods/ITEMS/mcl_colorblocks/init.lua @@ -61,9 +61,9 @@ for _, row in ipairs(block.dyes) do local sdesc_gtp = row[4] local sdesc_cp = row[5] local sdesc_c = row[6] - local ldesc_hc, ldesc_gt, ldesc_cp, ldesc_c + local ldesc_hc, ldesc_gt, ldesc_cp, ldesc_c, ldesc_gtp local create_entry - local ename_hc, ename_gt, ename_cp, ename_c + local ename_hc, ename_gt, ename_cp, ename_c, ename_gtp local ltt_cp = cp_tt if is_canonical then ldesc_hc = hc_desc