1. SevenSteps

    SevenSteps Naked Wanderer

    Hello guys, can you help me to solve this error

    "Type 'PlayerInventory' does no contain a definition for 'FindItem' and no extension method 'FindItem' of type 'PlayerInventory' could be found. Are you missing an assembly reference?"
     
  2. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    Open the Assembly-CSharp.dll from Hurtworld with a program such as JustDecompile and look through the PlayerInventory class to see if you see anything similar with FindItem.
     
  3. SevenSteps

    SevenSteps Naked Wanderer

    I already did it man, and theres nothing called "FindItem"
     
  4. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    Are you trying to use a Rust plugin with Hurtworld?
     
  5. SevenSteps

    SevenSteps Naked Wanderer

    No its Hurtworld Legacy plugin the line is this one

    session.WorldPlayerEntity.GetComponent<PlayerInventory>().FindItem(Convert.ToInt32(cmd.Value), n);