From cda054a9368643e97c514eea43ff43a3e34dc2ab Mon Sep 17 00:00:00 2001 From: ShadowNinja <noreply@gmail.com> Date: Thu, 03 Oct 2013 06:23:21 +0200 Subject: [PATCH] Remove item_drop --- technic_chests/chest_commons.lua | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/technic_chests/chest_commons.lua b/technic_chests/chest_commons.lua index e6438bf..92827ab 100644 --- a/technic_chests/chest_commons.lua +++ b/technic_chests/chest_commons.lua @@ -73,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