Skip to content

Commit

Permalink
Fix team-chest blacklist
Browse files Browse the repository at this point in the history
fix typo in the ipair loop for the blacklist table
  • Loading branch information
shivajiva101 authored and rubenwardy committed Dec 4, 2018
1 parent 5bb2cff commit c94e34d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mods/ctf_team_base/chest.lua
Expand Up @@ -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
Expand Down

0 comments on commit c94e34d

Please sign in to comment.