mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 20:17:22 +01:00
fix redraw after gpose
This commit is contained in:
parent
98d552fa40
commit
0f623510b5
3 changed files with 5 additions and 6 deletions
|
|
@ -109,7 +109,7 @@ public class DalamudUtilService : IHostedService
|
|||
{
|
||||
var mgr = CharacterManager.Instance();
|
||||
playerPointer ??= PlayerPointer;
|
||||
if(playerPointer == IntPtr.Zero) return IntPtr.Zero;
|
||||
if (playerPointer == IntPtr.Zero) return IntPtr.Zero;
|
||||
return (IntPtr)mgr->LookupPetByOwnerObject((BattleChara*)playerPointer);
|
||||
}
|
||||
|
||||
|
|
@ -183,7 +183,7 @@ public class DalamudUtilService : IHostedService
|
|||
|
||||
public async Task WaitWhileCharacterIsDrawing(ILogger logger, GameObjectHandler handler, Guid redrawId, int timeOut = 5000, CancellationToken? ct = null)
|
||||
{
|
||||
if (!_clientState.IsLoggedIn || handler.Address == IntPtr.Zero) return;
|
||||
if (!_clientState.IsLoggedIn || handler.CurrentAddress == IntPtr.Zero) return;
|
||||
|
||||
logger.LogTrace("[{redrawId}] Starting wait for {handler} to draw", redrawId, handler);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue