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

@@ -166,6 +166,7 @@ public class CachedPlayer
private void ApplyCharacterData(CharacterCacheDto cache, Dictionary<string, string> moddedPaths)
{
if (PlayerCharacter is null) return;
_ipcManager.PenumbraRemoveTemporaryCollection(PlayerName!);
var tempCollection = _ipcManager.PenumbraCreateTemporaryCollection(PlayerName!);
_dalamudUtil.WaitWhileCharacterIsDrawing(PlayerCharacter!.Address);