mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-16 13:44:17 +01:00
Fix imc identifiers setting equip slot to something where they should not.
This commit is contained in:
parent
f5d6ac8bdb
commit
8891ea0570
1 changed files with 2 additions and 4 deletions
|
|
@ -64,10 +64,8 @@ public readonly struct ImcManipulation : IMetaManipulation<ImcManipulation>
|
||||||
{
|
{
|
||||||
ObjectType.Accessory or ObjectType.Equipment => new ImcIdentifier(primaryId, v, objectType, 0, equipSlot,
|
ObjectType.Accessory or ObjectType.Equipment => new ImcIdentifier(primaryId, v, objectType, 0, equipSlot,
|
||||||
variant > byte.MaxValue ? BodySlot.Body : BodySlot.Unknown),
|
variant > byte.MaxValue ? BodySlot.Body : BodySlot.Unknown),
|
||||||
ObjectType.DemiHuman => new ImcIdentifier(primaryId, v, objectType, secondaryId,
|
ObjectType.DemiHuman => new ImcIdentifier(primaryId, v, objectType, secondaryId, equipSlot, variant > byte.MaxValue ? BodySlot.Body : BodySlot.Unknown),
|
||||||
equipSlot == EquipSlot.Unknown ? EquipSlot.Head : equipSlot, variant > byte.MaxValue ? BodySlot.Body : BodySlot.Unknown),
|
_ => new ImcIdentifier(primaryId, v, objectType, secondaryId, equipSlot, bodySlot == BodySlot.Unknown ? BodySlot.Body : BodySlot.Unknown),
|
||||||
_ => new ImcIdentifier(primaryId, v, objectType, secondaryId, equipSlot == EquipSlot.Unknown ? EquipSlot.Head : equipSlot,
|
|
||||||
bodySlot),
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue