Don't log missing inventory. (#12258)

This commit is contained in:
Leon Friedrich
2022-10-28 16:34:28 +13:00
committed by GitHub
parent bc4d0de98d
commit e488669be4

View File

@@ -163,7 +163,7 @@ namespace Content.Client.Inventory
public void ReloadInventory(ClientInventoryComponent? component = null)
{
var player = _playerManager.LocalPlayer?.ControlledEntity;
if (player == null || !Resolve(player.Value, ref component))
if (player == null || !Resolve(player.Value, ref component, false))
{
return;
}