mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 17:07:22 +01:00
potentially fixes an issue with cache creation, do not remove mediator on failure
This commit is contained in:
parent
a37281b719
commit
ebe9ea47be
10 changed files with 45 additions and 59 deletions
|
|
@ -28,7 +28,7 @@ public class OnlinePlayerManager : MediatorSubscriberBase, IDisposable
|
|||
Mediator.Subscribe<DelayedFrameworkUpdateMessage>(this, (_) => FrameworkOnUpdate());
|
||||
Mediator.Subscribe<CharacterDataCreatedMessage>(this, (msg) =>
|
||||
{
|
||||
var newData = ((CharacterDataCreatedMessage)msg).CharacterData.ToAPI();
|
||||
var newData = ((CharacterDataCreatedMessage)msg).CharacterData;
|
||||
if (_lastSentData == null || _lastSentData != null && !string.Equals(newData.DataHash.Value, _lastSentData.DataHash.Value, StringComparison.Ordinal))
|
||||
{
|
||||
_logger.LogDebug("Pushing data for visible players");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue