mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2025-07-19 06:00:19 +02:00
Fix most luacheck issues.
There are 3 false positives remaining after this patch, so the bulk of the issues are fixed now.
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
-- Various kinds of tables
|
||||
|
||||
local S = homedecor.gettext
|
||||
|
||||
-- Various kinds of tables
|
||||
|
||||
local materials = {
|
||||
{"glass","Glass"},
|
||||
{"wood","Wood"}
|
||||
@ -15,7 +15,7 @@ local tables_cbox = {
|
||||
for i in ipairs(materials) do
|
||||
local m = materials[i][1]
|
||||
local d = materials[i][2]
|
||||
local s = nil
|
||||
local s
|
||||
|
||||
if m == "glass" then
|
||||
s = default.node_sound_glass_defaults()
|
||||
@ -154,7 +154,7 @@ homedecor.register("utility_table_top", {
|
||||
|
||||
-- Various kinds of table legs
|
||||
|
||||
local materials = {"brass", "wrought_iron"}
|
||||
materials = {"brass", "wrought_iron"}
|
||||
|
||||
for _, t in ipairs(materials) do
|
||||
homedecor.register("table_legs_"..t, {
|
||||
|
Reference in New Issue
Block a user