mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2025-12-30 04:13:43 +01:00
Some more interface work.
This commit is contained in:
parent
6f34d74752
commit
129f9e070f
17 changed files with 485 additions and 243 deletions
|
|
@ -337,10 +337,8 @@ public class DesignManager
|
|||
|
||||
if (item.Type != currentMain.Type)
|
||||
{
|
||||
var newOffId = item.Type.Offhand().IsOffhandType()
|
||||
? item.ItemId
|
||||
: ItemManager.NothingId(item.Type.Offhand());
|
||||
if (!_items.IsOffhandValid(item, newOffId, out newOff))
|
||||
var defaultOffhand = _items.GetDefaultOffhand(item);
|
||||
if (!_items.IsOffhandValid(item, defaultOffhand.ItemId, out newOff))
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue