mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 19:57:23 +01:00
stupid fucking fuck drawing issues and other fuck
This commit is contained in:
parent
effe6c2839
commit
186e70d0cf
3 changed files with 10 additions and 10 deletions
|
|
@ -273,12 +273,6 @@ public sealed class GameObjectHandler : DisposableMediatorSubscriberBase
|
|||
|
||||
private bool IsBeingDrawn()
|
||||
{
|
||||
if (_dalamudUtil.IsAnythingDrawing)
|
||||
{
|
||||
Logger.LogTrace("[{this}] IsBeingDrawnRunOnFramework, Global draw block", this);
|
||||
return true;
|
||||
}
|
||||
|
||||
var curPtr = _getAddress();
|
||||
Logger.LogTrace("[{this}] IsBeingDrawnRunOnFramework, CurPtr: {ptr}", this, curPtr.ToString("X"));
|
||||
|
||||
|
|
@ -288,7 +282,13 @@ public sealed class GameObjectHandler : DisposableMediatorSubscriberBase
|
|||
|
||||
Address = IntPtr.Zero;
|
||||
DrawObjectAddress = IntPtr.Zero;
|
||||
return false;
|
||||
throw new InvalidOperationException($"CurPtr for {this} turned ZERO");
|
||||
}
|
||||
|
||||
if (_dalamudUtil.IsAnythingDrawing)
|
||||
{
|
||||
Logger.LogTrace("[{this}] IsBeingDrawnRunOnFramework, Global draw block", this);
|
||||
return true;
|
||||
}
|
||||
|
||||
var drawObj = GetDrawObj(curPtr);
|
||||
|
|
|
|||
|
|
@ -487,14 +487,14 @@ public sealed class CachedPlayer : DisposableMediatorSubscriberBase
|
|||
token.ThrowIfCancellationRequested();
|
||||
}
|
||||
|
||||
_cachedData = charaData;
|
||||
|
||||
Logger.LogDebug("[{applicationId}] Application finished", _applicationId);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Logger.LogWarning(ex, "[{applicationId}] Cancelled", _applicationId);
|
||||
}
|
||||
|
||||
_cachedData = charaData;
|
||||
}, token);
|
||||
}, downloadToken);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue