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:
commit
c9d069aaa6
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user