Update for staging and wrong tooltip.
Some checks failed
.NET Build / build (push) Has been cancelled

This commit is contained in:
Ottermandias 2025-08-29 16:36:42 +02:00
parent be8987a451
commit 912020cc3f
2 changed files with 3 additions and 4 deletions

View file

@ -38,10 +38,9 @@ public static unsafe class SkinMtrlPathEarlyProcessing
if (character is null)
return null;
if (character->TempSlotData is not null)
if (character->PerSlotStagingArea is not null)
{
// TODO ClientStructs-ify (aers/FFXIVClientStructs#1564)
var handle = *(ModelResourceHandle**)((nint)character->TempSlotData + 0xE0 * slotIndex + 0x8);
var handle = character->PerSlotStagingArea[slotIndex].ModelResourceHandle;
if (handle != null)
return handle;
}

View file

@ -82,7 +82,7 @@ public class PcpService : IApiService, IDisposable
public void CleanPcpCollections()
{
var collections = _collections.Storage.Where(c => c.Identity.Name.StartsWith("PCP/")).ToList();
Penumbra.Log.Information($"[PCPService] Deleting {collections.Count} mods containing the tag PCP.");
Penumbra.Log.Information($"[PCPService] Deleting {collections.Count} collections starting with PCP/.");
foreach (var collection in collections)
_collections.Storage.RemoveCollection(collection);
}