1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-12 10:04:40 +02:00

Merge pull request #843 from plague006/fix/whois

Remove quickbar check from whois
This commit is contained in:
Matthew 2019-03-01 20:41:10 -05:00 committed by GitHub
commit c9d069aaa6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -266,11 +266,8 @@ local function print_player_info(args, player)
if (not player or player.admin) and args.inventory then
local m_inventory = target.get_inventory(defines.inventory.player_main)
m_inventory = m_inventory.get_contents()
local q_inventory = target.get_inventory(defines.inventory.player_quickbar)
q_inventory = q_inventory.get_contents()
Game.player_print('Main and hotbar inventories: ')
Game.player_print(serpent.line(m_inventory))
Game.player_print(serpent.line(q_inventory))
end
end