mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-14 10:04:15 +01:00
fix issue when multiple transient files point to different gamepaths
This commit is contained in:
parent
c9dc0e8468
commit
574cdb0b24
5 changed files with 30 additions and 16 deletions
|
|
@ -9,6 +9,9 @@ using FFXIVClientStructs.FFXIV.Client.Game.Character;
|
|||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using MareSynchronos.Models;
|
||||
#if DEBUG
|
||||
using Newtonsoft.Json;
|
||||
#endif
|
||||
|
||||
namespace MareSynchronos.Managers
|
||||
{
|
||||
|
|
@ -236,6 +239,11 @@ namespace MareSynchronos.Managers
|
|||
CharacterCacheDto? cacheDto = (await CreateFullCharacterCacheDto(token));
|
||||
if (cacheDto == null || token.IsCancellationRequested) return;
|
||||
|
||||
#if DEBUG
|
||||
var json = JsonConvert.SerializeObject(cacheDto, Formatting.Indented);
|
||||
Logger.Verbose(json);
|
||||
#endif
|
||||
|
||||
if ((LastCreatedCharacterData?.GetHashCode() ?? 0) == cacheDto.GetHashCode())
|
||||
{
|
||||
Logger.Debug("Not sending data, already sent");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue