From 86696bad77b23ee9f1205e18476d5a5d79262a77 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Fri, 9 Jan 2015 12:37:08 -0500 Subject: [PATCH] use current door api --- init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index a0512f2..7814df4 100644 --- a/init.lua +++ b/init.lua @@ -201,7 +201,7 @@ minetest.register_craft({ } }) -doors:register_door("castle:oak_door", { +doors.register_door("castle:oak_door", { description = "Oak Door", inventory_image = "castle_oak_door_inv.png", groups = {choppy=2,door=1}, @@ -210,7 +210,7 @@ doors:register_door("castle:oak_door", { only_placer_can_open = true, }) -doors:register_door("castle:jail_door", { +doors.register_door("castle:jail_door", { description = "Jail Door", inventory_image = "castle_jail_door_inv.png", groups = {cracky=2,door=1},