fix redraw after gpose
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user