Beds: Re-add commas at list ends
authorparamat <mat.gregory@virginmedia.com>
Sat, 14 Nov 2015 05:10:38 +0000 (05:10 +0000)
committerparamat <mat.gregory@virginmedia.com>
Sat, 14 Nov 2015 05:18:11 +0000 (05:18 +0000)
mods/beds/api.lua

index dd4cfe365559e7fcde98bc216e9560241a3c7951..6b72814df12a9b510ca19d4f6bd5dadc76176c66 100644 (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")