mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2025-12-23 17:09:23 +01:00
Use known models without items for unknowns in identification.
This commit is contained in:
parent
f159c2f389
commit
463f4da7ab
1 changed files with 3 additions and 3 deletions
|
|
@ -163,9 +163,9 @@ public class ItemManager : IDisposable
|
||||||
|
|
||||||
if (itemId > uint.MaxValue)
|
if (itemId > uint.MaxValue)
|
||||||
{
|
{
|
||||||
var id = (SetId)(itemId & ushort.MaxValue);
|
var id = (SetId)(itemId & ushort.MaxValue);
|
||||||
var variant = (byte)(itemId >> 32);
|
var variant = (byte)(itemId >> 32);
|
||||||
item = new EquipItem($"Unknown ({id}-{variant})", 0, 0, id, 0, variant, slot.ToEquipType());
|
item = Identify(slot, id, variant);
|
||||||
return allowUnknown ? string.Empty : $"The item {itemId} yields an unknown item.";
|
return allowUnknown ? string.Empty : $"The item {itemId} yields an unknown item.";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue