So I have an error on a plugin I have created for the game Rust. No matter what I do to try and fix this issue, the test runs of compiling keep coming back to this error.
Error while compiling AutoPickupLoot: 'BaseEntity' does not contain a definition for 'inventory' and no accessible extension method 'inventory' accepting a first argument of type 'BaseEntity' could be found (are you missing a using directive or an assembly reference?) | Line: 552, Pos: 54
But everything I look up seems to be correct, but compiling says this is an issue. Anyone have thoughts by chance?