From: Jean-Patrick Guerrero Date: Sat, 13 Feb 2016 10:30:21 +0000 (+0100) Subject: Doors: fix unability to register doors outside of doors mod X-Git-Tag: 0.4.14~139 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=04f01bc57fee73d407874c1c92d59fa9ba803e2c;p=oweals%2Fminetest_game.git Doors: fix unability to register doors outside of doors mod --- diff --git a/mods/doors/init.lua b/mods/doors/init.lua index 2d6271e6..e96a7f53 100644 --- a/mods/doors/init.lua +++ b/mods/doors/init.lua @@ -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",