What happened to FindItemIDs in PlayerInventory? (Rust/Umod)

Hi everyone,

After a recent Rust or Oxide update, I noticed that the FindItemIDs method is no longer available in PlayerInventory.

Previously, I used code like this without any issues:                                     
 foreach (var i in player.inventory.FindItemIDs(itemDefinition.itemid))
{
// logic here
}

Now it fails to compile with the error:
'PlayerInventory' does not contain a definition for 'FindItemIDs'

I also tried alternatives like AllItems() (which seems to be mentioned online), but they don’t exist either.

My questions are:

  • Was FindItemIDs removed or renamed in a recent update?

  • What is the recommended way to loop through all items a player has, filtered by itemid?

  • Is manually iterating through containerBelt, containerMain, and containerWear still the proper approach?

Any help or documentation references would be much appreciated.
Thanks in advance!

public List<Item> FindItemsByItemID(int id)