mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2025-07-17 05:10:25 +02:00
whitespace cleanup, now also making most of homedecor consistenly use the same indentation style
This commit is contained in:
@ -46,15 +46,15 @@ end
|
||||
--table copy
|
||||
|
||||
function homedecor.table_copy(t)
|
||||
local nt = { };
|
||||
for k, v in pairs(t) do
|
||||
if type(v) == "table" then
|
||||
nt[k] = homedecor.table_copy(v)
|
||||
else
|
||||
nt[k] = v
|
||||
end
|
||||
end
|
||||
return nt
|
||||
local nt = { };
|
||||
for k, v in pairs(t) do
|
||||
if type(v) == "table" then
|
||||
nt[k] = homedecor.table_copy(v)
|
||||
else
|
||||
nt[k] = v
|
||||
end
|
||||
end
|
||||
return nt
|
||||
end
|
||||
|
||||
-- Determine if the item being pointed at is the underside of a node (e.g a ceiling)
|
||||
@ -154,6 +154,4 @@ dofile(homedecor.modpath.."/cobweb.lua")
|
||||
|
||||
dofile(homedecor.modpath.."/locked.lua")
|
||||
|
||||
|
||||
|
||||
print("[HomeDecor] "..S("Loaded!"))
|
||||
|
Reference in New Issue
Block a user