Fix .luacheckrc, fix unused index variable, remove spaces, use tabs.

This commit is contained in:
SFENCE 2021-03-26 22:12:45 +01:00
parent 1f0f335ecc
commit 1084ca00da
2 changed files with 23 additions and 23 deletions

View File

@ -28,6 +28,8 @@ read_globals = {
"protector", "isprotect",
"homedecor_expect_infinite_stacks",
"craftguide",
}
files["concrete/init.lua"].ignore = { "steel_ingot" }

View File

@ -17,8 +17,6 @@ function technic.register_recipe_type(typename, origdata)
if have_cg and craftguide.register_craft_type and data.output_size == 1 then
craftguide.register_craft_type(typename, {
description = data.description,
--width = data.input_size,
--height = 1,
})
end
data.recipes = {}
@ -74,7 +72,7 @@ local function register_recipe(typename, data)
result = result[1];
end
local items = "";
for index, input in pairs(data.input) do
for _, input in pairs(data.input) do
if (items=="") then
items = items..input;
else