Bodies To Bags plugin seems to be interfering with the timeout. No matter what I set my inventoryviewer timer to in the config file, it times out after 5s (default BodiesToBags timer)
I have been trying to fix it myself, but no luck.
Changing the timer on Bodies To Bags allows you to view inventories for that amount of time. (as you can see I have changed it to 15 from 5 to test my theory and I was correct)
private void OnEntitySpawned(BaseNetworkable entity)
{
var corpse = entity as LootableCorpse;
if (corpse == null || entity is NPCPlayer) return;
timer.Once(15f, () =>
{
corpse.Kill();
corpse.DropItems();
});
}
}
}