From 3cb30b7a4c3701fd5b0e8940ed36da9cd400a6bd Mon Sep 17 00:00:00 2001 From: ShadowNinja <noreply@gmail.com> Date: Thu, 03 Oct 2013 22:18:28 +0200 Subject: [PATCH] Move framedglass to it's own repository --- technic_chests/chest_commons.lua | 11 +++++------ 1 files changed, 5 insertions(+), 6 deletions(-) diff --git a/technic_chests/chest_commons.lua b/technic_chests/chest_commons.lua index 7786496..92827ab 100644 --- a/technic_chests/chest_commons.lua +++ b/technic_chests/chest_commons.lua @@ -11,8 +11,10 @@ local inv=meta:get_inventory() return inv:room_for_item("main",stack) end, - input_inventory="main"} - + input_inventory="main", + connect_sides = {left=1, right=1, front=1, back=1, top=1, bottom=1}, +} + chest_can_dig = function(pos,player) local meta = minetest.env:get_meta(pos); local inv = meta:get_inventory() @@ -71,8 +73,5 @@ end function has_locked_chest_privilege(meta, player) - if player:get_player_name() ~= meta:get_string("owner") then - return false - end - return true + return player:get_player_name() == meta:get_string("owner") end -- Gitblit v1.8.0