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:
parent
6d1ee9e46b
commit
01946f7255
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user