mirror of
https://github.com/minetest/minetest.git
synced 2024-11-30 03:23:45 +01:00
fix locked chest to not destroy denied items (minimal game)
This commit is contained in:
parent
4b0494062e
commit
3f18e9a2da
@ -1222,7 +1222,7 @@ minetest.register_node("default:chest_locked", {
|
|||||||
" tried to access a locked chest belonging to "..
|
" tried to access a locked chest belonging to "..
|
||||||
meta:get_string("owner").." at "..
|
meta:get_string("owner").." at "..
|
||||||
minetest.pos_to_string(pos))
|
minetest.pos_to_string(pos))
|
||||||
return
|
return stack
|
||||||
end
|
end
|
||||||
minetest.log("action", player:get_player_name()..
|
minetest.log("action", player:get_player_name()..
|
||||||
" moves stuff to locked chest at "..minetest.pos_to_string(pos))
|
" moves stuff to locked chest at "..minetest.pos_to_string(pos))
|
||||||
|
Loading…
Reference in New Issue
Block a user