Fix linter
This commit is contained in:
parent
244d256afe
commit
6b657ceff6
2 changed files with 2 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue