mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 22:17:22 +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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue