fix not being able to pause players, some other bullshit, update to api4

This commit is contained in:
Stanley Dimant
2022-07-10 14:20:43 +02:00
parent 1577ec93fd
commit 1eccd791d1
6 changed files with 7 additions and 7 deletions

View File

@@ -111,7 +111,7 @@ namespace MareSynchronos.Utils
Thread.Sleep(500);
}
public void WaitWhileSelfIsDrawing(CancellationToken token) => WaitWhileCharacterIsDrawing(_clientState.LocalPlayer?.Address ?? new IntPtr(), token);
public void WaitWhileSelfIsDrawing(CancellationToken? token) => WaitWhileCharacterIsDrawing(_clientState.LocalPlayer?.Address ?? new IntPtr(), token);
public void Dispose()
{