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?"
FindItem in PlayerInventory?
Discussion in 'Hurtworld Development' started by klauz24, Aug 26, 2017.
-
Wulf Community Admin
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.
-
I already did it man, and theres nothing called "FindItem"
-
Wulf Community Admin
-
No its Hurtworld Legacy plugin the line is this one
session.WorldPlayerEntity.GetComponent<PlayerInventory>().FindItem(Convert.ToInt32(cmd.Value), n);