mirror of
https://github.com/minetest/minetest.git
synced 2025-02-27 23:24:42 +01:00
fix locked chest to not destroy denied items (minimal game)
This commit is contained in:
@ -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))
|
||||||
|
Reference in New Issue
Block a user