mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2025-12-12 10:17:23 +01:00
Fix issue with Weathered Daggers.
This commit is contained in:
parent
a2de7ece25
commit
04b376e857
1 changed files with 1 additions and 1 deletions
|
|
@ -137,7 +137,7 @@ public class ItemManager : IDisposable
|
|||
if (slot is not EquipSlot.MainHand and not EquipSlot.OffHand)
|
||||
return new EquipItem($"Invalid ({id.Id}-{type.Id}-{variant})", 0, 0, id, type, variant, 0);
|
||||
|
||||
var item = IdentifierService.AwaitedService.Identify(id, type, variant, slot).FirstOrDefault();
|
||||
var item = IdentifierService.AwaitedService.Identify(id, type, variant, slot).FirstOrDefault(i => i.Type.ToSlot() == slot);
|
||||
return item.Valid
|
||||
? item
|
||||
: EquipItem.FromIds(0, 0, id, type, variant, slot.ToEquipType(), null);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue