fixed severe bug that allowed all players to access the shared chests

This commit is contained in:
Sokomine 2014-10-05 16:37:59 +02:00
parent 119ad05e73
commit 6c9aa5d494

View File

@ -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