mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 16:57:22 +01:00
fixes for summoner
This commit is contained in:
parent
876c0f4f3e
commit
29eea0d800
3 changed files with 6 additions and 4 deletions
|
|
@ -143,7 +143,7 @@ public class TransientResourceManager : MediatorSubscriberBase, IDisposable
|
|||
{
|
||||
return;
|
||||
}
|
||||
if (!PlayerRelatedPointers.Select(p => p.Address).Contains(gameObject))
|
||||
if (!PlayerRelatedPointers.Select(p => p.CurrentAddress).Contains(gameObject))
|
||||
{
|
||||
//_logger.LogDebug("Got resource " + gamePath + " for ptr " + gameObject.ToString("X"));
|
||||
return;
|
||||
|
|
@ -172,7 +172,7 @@ public class TransientResourceManager : MediatorSubscriberBase, IDisposable
|
|||
else
|
||||
{
|
||||
TransientResources[gameObject].Add(replacedGamePath);
|
||||
_logger.LogDebug("Adding {replacedGamePath} for {gameObject} ({filePath})", replacedGamePath, gameObject, filePath);
|
||||
_logger.LogDebug("Adding {replacedGamePath} for {gameObject} ({filePath})", replacedGamePath, gameObject.ToString("X"), filePath);
|
||||
Mediator.Publish(new TransientResourceChangedMessage(gameObject));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue