projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b04940
)
fix locked chest to not destroy denied items (minimal game)
author
darkrose
<lisa@ltmnet.com>
Sun, 3 Jun 2012 07:59:56 +0000
(17:59 +1000)
committer
Perttu Ahola
<celeron55@gmail.com>
Sun, 3 Jun 2012 19:31:02 +0000
(22:31 +0300)
games/minimal/mods/default/init.lua
patch
|
blob
|
history
diff --git
a/games/minimal/mods/default/init.lua
b/games/minimal/mods/default/init.lua
index 643995c9770717c2f37e50f0e03ca59b9032f81c..4468d1e0e7d3fa8c658f9269194ab800437596eb 100644
(file)
--- 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))