mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2025-12-29 20:03:45 +01:00
Make some stuff work.
This commit is contained in:
parent
4eb46a9fff
commit
e79ee55f3b
8 changed files with 69 additions and 12 deletions
|
|
@ -54,7 +54,7 @@ public struct ModelData
|
|||
public ModelData(CharacterWeapon mainHand)
|
||||
=> MainHand = mainHand;
|
||||
|
||||
public CharacterArmor Armor(EquipSlot slot)
|
||||
public readonly CharacterArmor Armor(EquipSlot slot)
|
||||
=> slot switch
|
||||
{
|
||||
EquipSlot.MainHand => MainHand.ToArmor(),
|
||||
|
|
@ -72,7 +72,7 @@ public struct ModelData
|
|||
_ => CharacterArmor.Empty,
|
||||
};
|
||||
|
||||
public CharacterWeapon Piece(EquipSlot slot)
|
||||
public readonly CharacterWeapon Piece(EquipSlot slot)
|
||||
=> slot switch
|
||||
{
|
||||
EquipSlot.MainHand => MainHand,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue