From 6c9aa5d49410f6222dffac1d7eb090856d22fc32 Mon Sep 17 00:00:00 2001 From: Sokomine Date: Sun, 5 Oct 2014 16:37:59 +0200 Subject: [PATCH] fixed severe bug that allowed all players to access the shared chests --- init.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 943d84e..9bbb9b0 100644 --- a/init.lua +++ b/init.lua @@ -1,3 +1,4 @@ +-- 05.10.14 Fixed bug in protection/access chesttools = {} @@ -66,7 +67,7 @@ chesttools.may_use = function( pos, player ) and minetest.is_protected(pos, ' _DUMMY_PLAYER_ ')) then return true; end - return true; + return false; end