mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2026-02-18 13:37:44 +01:00
Some more interface work.
This commit is contained in:
parent
6f34d74752
commit
129f9e070f
17 changed files with 485 additions and 243 deletions
|
|
@ -138,7 +138,7 @@ public class StateEditor
|
|||
|
||||
// Can not change weapon type from expected type in state.
|
||||
if (slot is EquipSlot.MainHand && item.Type != state.BaseData.MainhandType
|
||||
|| slot is EquipSlot.OffHand && item.Type != state.BaseData.MainhandType.Offhand())
|
||||
|| slot is EquipSlot.OffHand && item.Type != state.BaseData.MainhandType.ValidOffhand())
|
||||
return false;
|
||||
|
||||
state.ModelData.SetItem(slot, item);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue