From 3f18e9a2dabb06808131eb639caeff46116c8c27 Mon Sep 17 00:00:00 2001 From: darkrose Date: Sun, 3 Jun 2012 17:59:56 +1000 Subject: [PATCH] fix locked chest to not destroy denied items (minimal game) --- games/minimal/mods/default/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games/minimal/mods/default/init.lua b/games/minimal/mods/default/init.lua index 643995c97..4468d1e0e 100644 --- a/games/minimal/mods/default/init.lua +++ b/games/minimal/mods/default/init.lua @@ -1222,7 +1222,7 @@ minetest.register_node("default:chest_locked", { " tried to access a locked chest belonging to ".. meta:get_string("owner").." at ".. minetest.pos_to_string(pos)) - return + return stack end minetest.log("action", player:get_player_name().. " moves stuff to locked chest at "..minetest.pos_to_string(pos))