mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
Fix parameters of EnableDraw
This commit is contained in:
parent
5805d5c798
commit
895e70555d
2 changed files with 6 additions and 3 deletions
|
|
@ -403,6 +403,9 @@ public static class FullEquipTypeExtensions
|
|||
_ => string.Empty,
|
||||
};
|
||||
|
||||
public static bool IsOffhandType(this FullEquipType type)
|
||||
=> type.OffhandTypeSuffix().Length > 0;
|
||||
|
||||
public static readonly IReadOnlyList<FullEquipType> WeaponTypes
|
||||
= Enum.GetValues<FullEquipType>().Where(v => v.IsWeapon()).ToArray();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue