forked from minetest/minetest_game
Doors: fix unability to register doors outside of doors mod
This commit is contained in:
parent
7a3cff5529
commit
04f01bc57f
|
@ -178,7 +178,7 @@ function doors.register(name, def)
|
|||
end
|
||||
})
|
||||
|
||||
minetest.register_craftitem("doors:" .. name, {
|
||||
minetest.register_craftitem(":doors:" .. name, {
|
||||
description = def.description,
|
||||
inventory_image = def.inventory_image,
|
||||
|
||||
|
@ -288,7 +288,7 @@ function doors.register(name, def)
|
|||
end
|
||||
end
|
||||
|
||||
minetest.register_node("doors:" .. name .. "_a", {
|
||||
minetest.register_node(":doors:" .. name .. "_a", {
|
||||
description = def.description,
|
||||
visual = "mesh",
|
||||
mesh = "door_a.obj",
|
||||
|
@ -320,7 +320,7 @@ function doors.register(name, def)
|
|||
},
|
||||
})
|
||||
|
||||
minetest.register_node("doors:" .. name .. "_b", {
|
||||
minetest.register_node(":doors:" .. name .. "_b", {
|
||||
description = def.description,
|
||||
visual = "mesh",
|
||||
mesh = "door_b.obj",
|
||||
|
|
Loading…
Reference in New Issue
Block a user