mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
Fix swapping universal hairstyles for midlanders breaking them for others.
This commit is contained in:
parent
6493394256
commit
29d01e698b
2 changed files with 6 additions and 5 deletions
|
|
@ -22,10 +22,11 @@ public static class MaterialHandling
|
|||
|
||||
// All hairstyles above 116 are shared except for Hrothgar
|
||||
if (hairId.Value is >= 116 and <= 200)
|
||||
{
|
||||
return actualGr.Split().Item1 == Gender.Female ? GenderRace.MidlanderFemale : GenderRace.MidlanderMale;
|
||||
}
|
||||
|
||||
return actualGr;
|
||||
}
|
||||
|
||||
public static bool IsSpecialCase(GenderRace gr, SetId hairId)
|
||||
=> gr is GenderRace.MidlanderMale or GenderRace.MidlanderFemale && hairId.Value is >= 101 and <= 200;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue