mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 10:17:22 +01:00
Update for staging and wrong tooltip.
Some checks failed
.NET Build / build (push) Has been cancelled
Some checks failed
.NET Build / build (push) Has been cancelled
This commit is contained in:
parent
be8987a451
commit
912020cc3f
2 changed files with 3 additions and 4 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue