mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
Convert Unknown Equipslots to Head for DemiHuman IMC.
This commit is contained in:
parent
8bca3d82f5
commit
3e26972a15
2 changed files with 3 additions and 3 deletions
|
|
@ -86,7 +86,7 @@ public static class EquipSlotExtensions
|
|||
EquipSlot.RFinger => "rir",
|
||||
EquipSlot.LFinger => "ril",
|
||||
EquipSlot.Wrists => "wrs",
|
||||
_ => throw new InvalidEnumArgumentException(),
|
||||
_ => "unk",
|
||||
};
|
||||
}
|
||||
|
||||
|
|
@ -116,7 +116,7 @@ public static class EquipSlotExtensions
|
|||
EquipSlot.BodyHands => EquipSlot.Body,
|
||||
EquipSlot.BodyLegsFeet => EquipSlot.Body,
|
||||
EquipSlot.ChestHands => EquipSlot.Body,
|
||||
_ => throw new InvalidEnumArgumentException($"{value} ({(int)value}) is not valid."),
|
||||
_ => EquipSlot.Unknown,
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue