forked from VoxeLibre/VoxeLibre
Make Lantern API callable from outside of mcl_lanterns
This commit is contained in:
parent
16d94a88db
commit
95d3f9be07
|
@ -90,7 +90,7 @@ function mcl_lanterns.register_lantern(name, def)
|
|||
|
||||
local sounds = mcl_sounds.node_sound_metal_defaults()
|
||||
|
||||
minetest.register_node(itemstring_floor, {
|
||||
minetest.register_node(":"..itemstring_floor, {
|
||||
description = def.description,
|
||||
_doc_items_longdesc = def.longdesc,
|
||||
drawtype = "mesh",
|
||||
|
@ -166,7 +166,7 @@ function mcl_lanterns.register_lantern(name, def)
|
|||
_mcl_blast_resistance = 3.5,
|
||||
})
|
||||
|
||||
minetest.register_node(itemstring_ceiling, {
|
||||
minetest.register_node(":"..itemstring_ceiling, {
|
||||
description = def.description,
|
||||
_doc_items_create_entry = false,
|
||||
drawtype = "mesh",
|
||||
|
|
Loading…
Reference in New Issue