mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 16:47:22 +01:00
potential mcdf fixes
This commit is contained in:
parent
1ae6f4ec54
commit
0edd21a8e1
4 changed files with 62 additions and 24 deletions
|
|
@ -232,7 +232,7 @@ public sealed class FileCacheManager : IDisposable
|
|||
{
|
||||
if (_fileCaches.TryGetValue(hash, out var hashes))
|
||||
{
|
||||
var item = hashes.FirstOrDefault();
|
||||
var item = hashes.OrderBy(p => p.PrefixedFilePath.Contains(PenumbraPrefix) ? 0 : 1).FirstOrDefault();
|
||||
if (item != null) return GetValidatedFileCache(item);
|
||||
}
|
||||
return null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue