I've been using this plugin for well over a year now and never had any issues until now - 
Any idea what it could be and how to fix it?
Item.DoRemove is inaccessible due to its protection levelSolved
Are you sure you are using the latest server version and this plugin?
Yes, I am. That was one of the first things I tried.
I would suggest double-checking, because there are no other reports and the plugin is currently building and loading fine on the latest server version. Older versions aren't supported, so you'd need to be using the latest.
I am using the latest, double triple checked.
This is the line of code it's referring to
foreach (var item in items.Where(x => x != null && x.IsValid()))
if (!item.MoveToContainer(container.inventory, -1, false)) { item.DoRemove(); } // broken item fix / fixes full container
if ((int)con["Scrap"] > 0)
{
int scrapCount = (int)con["Scrap"];
Item item = ItemManager.Create(ItemManager.FindItemDefinition("scrap"), scrapCount * _config.Loot.scrapMultiplier, 0uL);
if (!item.MoveToContainer(container.inventory, -1, false)) { item.DoRemove(); } // broken item fix
Also here is proof of version.
You mentioned you are using an older version of the plugin. 3.5.8 is the latest.
I just double checked and downloaded it from the site and that's what it says in the .cs file - no where did I mention I'm using an older version. I'm using the version directly from umod
Merged post
Downloading from Umod I open the .cs file and it says 3.5.7 so where is 3.5.8 located?
You are looking at the changelog in the file, not the version. Look at the Info header. Could you show the oxide.version response too?
It was the oxide version, sorry for the confusion and thanks for being so quick to help. I regularly update oxide so I'm surprised this was the issue. Thanks again.