mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2025-07-17 21:30:19 +02:00
Fix warnings issued by luacheck
.
This commit is contained in:
@ -32,16 +32,6 @@ for _, t in ipairs(table_colors) do
|
||||
})
|
||||
end
|
||||
|
||||
local chaircolors = {
|
||||
{ "", S("plain") },
|
||||
{ "black", S("black") },
|
||||
{ "red", S("red") },
|
||||
{ "pink", S("pink") },
|
||||
{ "violet", S("violet") },
|
||||
{ "blue", S("blue") },
|
||||
{ "dark_green", S("dark green") },
|
||||
}
|
||||
|
||||
local kc_cbox = {
|
||||
type = "fixed",
|
||||
fixed = { -0.3125, -0.5, -0.3125, 0.3125, 0.5, 0.3125 },
|
||||
@ -93,7 +83,6 @@ homedecor.register("kitchen_chair_padded", {
|
||||
after_place_node = homedecor.fix_rotation_nsew,
|
||||
after_dig_node = unifieddyes.after_dig_node,
|
||||
on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
|
||||
local itemname = itemstack:get_name()
|
||||
pos.y = pos.y+0 -- where do I put my ass ?
|
||||
homedecor.sit(pos, node, clicker)
|
||||
return itemstack
|
||||
@ -200,7 +189,7 @@ minetest.register_lbm({
|
||||
color = "dark_grey"
|
||||
end
|
||||
|
||||
paletteidx, _ = unifieddyes.getpaletteidx("unifieddyes:"..color, "wallmounted")
|
||||
paletteidx = unifieddyes.getpaletteidx("unifieddyes:"..color, "wallmounted")
|
||||
end
|
||||
|
||||
local old_fdir = math.floor(node.param2 % 32)
|
||||
|
Reference in New Issue
Block a user