diff --git a/town_item.lua b/town_item.lua index bc2779b..0d0cb1b 100644 --- a/town_item.lua +++ b/town_item.lua @@ -158,7 +158,6 @@ minetest.register_abm( { end } ) - local function has_locked_chest_privilege(meta, player) if player:get_player_name() ~= meta:get_string("owner") then return false @@ -166,7 +165,6 @@ local function has_locked_chest_privilege(meta, player) return true end - minetest.register_craft({ output = "castle:workbench", recipe = { @@ -237,13 +235,6 @@ minetest.register_node("castle:crate", { end, }) -local function has_locked_chest_privilege(meta, player) - if player:get_player_name() ~= meta:get_string("owner") then - return false - end - return true -end - minetest.register_craft({ output = "castle:crate", recipe = {