1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2025-01-18 03:21:47 +02:00

Remove quickbar check

This commit is contained in:
plague006 2019-03-01 19:31:54 -05:00
parent 6d1ee9e46b
commit 01946f7255

View File

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