Beds: Re-add commas at list ends

This commit is contained in:
paramat 2015-11-14 05:10:38 +00:00
parent 1d8def5c06
commit 4ef6810298

View File

@ -13,11 +13,11 @@ function beds.register_bed(name, def)
sounds = default.node_sound_wood_defaults(), sounds = default.node_sound_wood_defaults(),
node_box = { node_box = {
type = "fixed", type = "fixed",
fixed = def.nodebox.bottom fixed = def.nodebox.bottom,
}, },
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = def.selectionbox fixed = def.selectionbox,
}, },
after_place_node = function(pos, placer, itemstack) after_place_node = function(pos, placer, itemstack)
local n = minetest.get_node_or_nil(pos) local n = minetest.get_node_or_nil(pos)
@ -94,7 +94,7 @@ function beds.register_bed(name, def)
node_box = { node_box = {
type = "fixed", type = "fixed",
fixed = def.nodebox.top, fixed = def.nodebox.top,
} },
}) })
minetest.register_alias(name, name .. "_bottom") minetest.register_alias(name, name .. "_bottom")