Fix chest log messages

All log messages about moving stuff in/into/from chests described them
as "locked", whether the chests are locked or not.  Remove that word,
so the messages make no claim about lockedness.
This commit is contained in:
Zefram 2014-04-26 21:12:10 +01:00 committed by ShadowNinja
parent f504178421
commit e10335e952

View File

@ -49,19 +49,19 @@ end
function technic.chests.on_inv_move(pos, from_list, from_index, to_list, to_index, count, player) function technic.chests.on_inv_move(pos, from_list, from_index, to_list, to_index, count, player)
minetest.log("action", player:get_player_name().. minetest.log("action", player:get_player_name()..
" moves stuff in locked chest at " " moves stuff in chest at "
..minetest.pos_to_string(pos)) ..minetest.pos_to_string(pos))
end end
function technic.chests.on_inv_put(pos, listname, index, stack, player) function technic.chests.on_inv_put(pos, listname, index, stack, player)
minetest.log("action", player:get_player_name().. minetest.log("action", player:get_player_name()..
" puts stuff in to locked chest at " " puts stuff in to chest at "
..minetest.pos_to_string(pos)) ..minetest.pos_to_string(pos))
end end
function technic.chests.on_inv_take(pos, listname, index, stack, player) function technic.chests.on_inv_take(pos, listname, index, stack, player)
minetest.log("action", player:get_player_name().. minetest.log("action", player:get_player_name()..
" takes stuff from locked chest at " " takes stuff from chest at "
..minetest.pos_to_string(pos)) ..minetest.pos_to_string(pos))
end end