fix locked chest to not destroy denied items (minimal game)

This commit is contained in:
darkrose 2012-06-03 17:59:56 +10:00 committed by Perttu Ahola
parent 4b0494062e
commit 3f18e9a2da

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