mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
Make collection resolver not cache early resolved actors that aren't characters.
This commit is contained in:
parent
bb9dd184a3
commit
bedf5dab79
1 changed files with 4 additions and 1 deletions
|
|
@ -216,10 +216,13 @@ public sealed unsafe class CollectionResolver(
|
||||||
private ModCollection? CollectionByAttributes(Actor actor, ref bool notYetReady)
|
private ModCollection? CollectionByAttributes(Actor actor, ref bool notYetReady)
|
||||||
{
|
{
|
||||||
if (!actor.IsCharacter)
|
if (!actor.IsCharacter)
|
||||||
|
{
|
||||||
|
Penumbra.Log.Excessive($"Actor to be identified was not yet a Character.");
|
||||||
|
notYetReady = true;
|
||||||
return null;
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
// Only handle human models.
|
// Only handle human models.
|
||||||
|
|
||||||
if (!IsModelHuman((uint)actor.AsCharacter->CharacterData.ModelCharaId))
|
if (!IsModelHuman((uint)actor.AsCharacter->CharacterData.ModelCharaId))
|
||||||
return null;
|
return null;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue