mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 22:17:22 +01:00
add some failsafes around assignment and application of data
This commit is contained in:
parent
db4854cba9
commit
03414c9c94
3 changed files with 40 additions and 10 deletions
|
|
@ -138,7 +138,10 @@ public class CachedPlayer
|
|||
|
||||
foreach (var kind in objectKind)
|
||||
{
|
||||
ApplyCustomizationData(kind);
|
||||
if (_cachedData.GlamourerData.ContainsKey(kind))
|
||||
{
|
||||
ApplyCustomizationData(kind);
|
||||
}
|
||||
}
|
||||
}, downloadToken).ContinueWith(task =>
|
||||
{
|
||||
|
|
@ -147,6 +150,8 @@ public class CachedPlayer
|
|||
Logger.Debug("Download Task was cancelled");
|
||||
_apiController.CancelDownload(downloadId);
|
||||
});
|
||||
|
||||
_downloadCancellationTokenSource = null;
|
||||
}
|
||||
|
||||
private List<FileReplacementDto> TryCalculateModdedDictionary(out Dictionary<string, string> moddedDictionary)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue