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
1 changed files with 3 additions and 3 deletions

View File

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