forked from Mirrorlandia_minetest/minetest
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 "..
|
||||
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))
|
||||
|
Loading…
Reference in New Issue
Block a user