diff --git a/CS2Interface/IPC/Api/CS2InterfaceController.cs b/CS2Interface/IPC/Api/CS2InterfaceController.cs index 5d30a28..cc856cb 100644 --- a/CS2Interface/IPC/Api/CS2InterfaceController.cs +++ b/CS2Interface/IPC/Api/CS2InterfaceController.cs @@ -173,7 +173,7 @@ public ActionResult Inventory(string botName, [FromQuery] bool return BadRequest(new GenericResponse(false, "Inventory not loaded yet")); } - List inventory = client.Inventory.Values.Where(x => x.IsVisible()).ToList(); + List inventory = client.Inventory.Values.Where(x => x.IsVisible() && x.CasketID == null).ToList(); GameObject.SetSerializationProperties(!minimal, showDefs); return Ok(new GenericResponse>(true, inventory));