aboutsummaryrefslogtreecommitdiff
path: root/games/minimal/mods
diff options
context:
space:
mode:
authordarkrose <lisa@ltmnet.com>2012-06-03 17:59:56 +1000
committerPerttu Ahola <celeron55@gmail.com>2012-06-03 22:31:02 +0300
commit3f18e9a2dabb06808131eb639caeff46116c8c27 (patch)
tree54edbc77bf893ae90037afaf732264f38f5287f5 /games/minimal/mods
parent4b0494062e78580fcf9f9f3b9898ecf0bde12a84 (diff)
downloadminetest-3f18e9a2dabb06808131eb639caeff46116c8c27.tar.gz
minetest-3f18e9a2dabb06808131eb639caeff46116c8c27.tar.bz2
minetest-3f18e9a2dabb06808131eb639caeff46116c8c27.zip
fix locked chest to not destroy denied items (minimal game)
Diffstat (limited to 'games/minimal/mods')
-rw-r--r--games/minimal/mods/default/init.lua2
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))