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 = {
|
globals = {
|
||||||
"crafting", "vector", "table", "minetest",
|
"crafting", "vector", "table", "minetest",
|
||||||
"worldedit", "ctf", "ctf_flag", "ctf_colors",
|
"worldedit", "ctf", "ctf_flag", "ctf_colors",
|
||||||
"hudkit", "default", "treasurer", "ChatCmdBuilder",
|
"hudkit", "default", "treasurer", "ChatCmdBuilder", "chatplus",
|
||||||
}
|
}
|
||||||
|
|
||||||
read_globals = {
|
read_globals = {
|
||||||
|
@ -27,7 +27,7 @@ read_globals = {
|
||||||
"VoxelArea", "ItemStack",
|
"VoxelArea", "ItemStack",
|
||||||
"Settings",
|
"Settings",
|
||||||
"prometheus", "hb",
|
"prometheus", "hb",
|
||||||
"awards", "chatplus",
|
"awards",
|
||||||
|
|
||||||
|
|
||||||
-- Testing
|
-- Testing
|
||||||
|
|
|
@ -20,9 +20,7 @@ local function get_is_player_pro(pstat)
|
||||||
end
|
end
|
||||||
|
|
||||||
local colors = {"red", "blue"}
|
local colors = {"red", "blue"}
|
||||||
local chest_name_to_team = {}
|
|
||||||
for _, chest_color in pairs(colors) do
|
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, {
|
minetest.register_node("ctf_team_base:chest_" .. chest_color, {
|
||||||
description = "Chest",
|
description = "Chest",
|
||||||
tiles = {
|
tiles = {
|
||||||
|
|
Loading…
Reference in a new issue