diff options
author | darkrose <lisa@ltmnet.com> | 2012-06-03 17:59:56 +1000 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-06-03 22:31:02 +0300 |
commit | 3f18e9a2dabb06808131eb639caeff46116c8c27 (patch) | |
tree | 54edbc77bf893ae90037afaf732264f38f5287f5 /games | |
parent | 4b0494062e78580fcf9f9f3b9898ecf0bde12a84 (diff) | |
download | minetest-3f18e9a2dabb06808131eb639caeff46116c8c27.tar.gz minetest-3f18e9a2dabb06808131eb639caeff46116c8c27.tar.bz2 minetest-3f18e9a2dabb06808131eb639caeff46116c8c27.zip |
fix locked chest to not destroy denied items (minimal game)
Diffstat (limited to 'games')
-rw-r--r-- | games/minimal/mods/default/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |