0
0
Fork 0

Make Lantern API callable from outside of mcl_lanterns

This commit is contained in:
Michieal 2022-12-21 12:34:47 -05:00
parent 16d94a88db
commit 95d3f9be07
1 changed files with 3 additions and 3 deletions

View File

@ -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",
@ -281,4 +281,4 @@ minetest.register_craft({
},
})
dofile(modpath.."/register.lua")
dofile(modpath.."/register.lua")