From c94e34d911d6927d82520504a9f518cd580314cb Mon Sep 17 00:00:00 2001 From: shivajiva101 Date: Tue, 4 Dec 2018 19:19:54 +0000 Subject: [PATCH] Fix team-chest blacklist fix typo in the ipair loop for the blacklist table --- mods/ctf_team_base/chest.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ctf_team_base/chest.lua b/mods/ctf_team_base/chest.lua index 597ff96f7..fb7b1e2a0 100644 --- a/mods/ctf_team_base/chest.lua +++ b/mods/ctf_team_base/chest.lua @@ -129,7 +129,7 @@ for _, chest_color in pairs(colors) do return 0 end - for itemstring in ipairs(blacklist) do + for _, itemstring in ipairs(blacklist) do if stack:get_name() == itemstring then return 0 end