mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-28 09:36:27 -04:00
Change the registered name of the bed
Can register the bed from the other mods.
This commit is contained in:
parent
fe3c5a7090
commit
7cfd8a77e4
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
function beds.register_bed(name, def)
|
||||
minetest.register_node(name .. "_bottom", {
|
||||
minetest.register_node(":" .. name .. "_bottom", {
|
||||
description = def.description,
|
||||
inventory_image = def.inventory_image,
|
||||
wield_image = def.wield_image,
|
||||
|
@ -51,7 +51,7 @@ function beds.register_bed(name, def)
|
|||
end,
|
||||
})
|
||||
|
||||
minetest.register_node(name .. "_top", {
|
||||
minetest.register_node(":" .. name .. "_top", {
|
||||
drawtype = "nodebox",
|
||||
tiles = def.tiles.top,
|
||||
paramtype = "light",
|
||||
|
|
Loading…
Add table
Reference in a new issue