Does RemoveAllItems() require a bool in v2.25?

corb555

New member
I'm using Opsive First Person Controller V2.25 and I'm trying to use Pixel Crushers Save System with it. When I install Save System, I get an error because they call RemoveAllItems with a bool. When I look at the source code for InventoryBase.cs, it does not require a bool. PixelCrushers says that call was changed to require a bool in v2.2.5 (which is what I believe I have). The date for InventoryBase.cs I have is April 21, 2020. Line 582:

public void RemoveAllItems()
 
Last edited:
Yes, it does:

public void RemoveAllItems(bool drop)

2.2.5 was released in August, so it seems you didn't fully update.
 
Top