projects
/
oweals
/
minetest_game.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d8def5
)
Beds: Re-add commas at list ends
author
paramat
<mat.gregory@virginmedia.com>
Sat, 14 Nov 2015 05:10:38 +0000
(
05:10
+0000)
committer
paramat
<mat.gregory@virginmedia.com>
Sat, 14 Nov 2015 05:18:11 +0000
(
05:18
+0000)
mods/beds/api.lua
patch
|
blob
|
history
diff --git
a/mods/beds/api.lua
b/mods/beds/api.lua
index dd4cfe365559e7fcde98bc216e9560241a3c7951..6b72814df12a9b510ca19d4f6bd5dadc76176c66 100644
(file)
--- a/
mods/beds/api.lua
+++ b/
mods/beds/api.lua
@@
-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")