Skip to content
Permalink
Browse files

Doors: fix unability to register doors outside of doors mod

  • Loading branch information
kilbith authored and Ekdohibs committed Feb 13, 2016
1 parent 7a3cff5 commit 04f01bc57fee73d407874c1c92d59fa9ba803e2c
Showing with 3 additions and 3 deletions.
  1. +3 −3 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",

0 comments on commit 04f01bc

Please sign in to comment.
You can’t perform that action at this time.