Fix linter

This commit is contained in:
rubenwardy 2019-01-05 23:41:24 +00:00
parent 244d256afe
commit 6b657ceff6
2 changed files with 2 additions and 4 deletions

View file

@ -14,7 +14,7 @@ ignore = {"631"}
globals = {
"crafting", "vector", "table", "minetest",
"worldedit", "ctf", "ctf_flag", "ctf_colors",
"hudkit", "default", "treasurer", "ChatCmdBuilder",
"hudkit", "default", "treasurer", "ChatCmdBuilder", "chatplus",
}
read_globals = {
@ -27,7 +27,7 @@ read_globals = {
"VoxelArea", "ItemStack",
"Settings",
"prometheus", "hb",
"awards", "chatplus",
"awards",
-- Testing

View file

@ -20,9 +20,7 @@ local function get_is_player_pro(pstat)
end
local colors = {"red", "blue"}
local chest_name_to_team = {}
for _, chest_color in pairs(colors) do
chest_name_to_team["ctf_team_base:chest_" .. chest_color] = chest_color
minetest.register_node("ctf_team_base:chest_" .. chest_color, {
description = "Chest",
tiles = {