mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-28 13:53:45 +01:00
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
Block a user