Some stuff

This commit is contained in:
Ottermandias 2022-11-04 22:41:50 +01:00
parent cbdac759b3
commit 732ca561a1
5 changed files with 101 additions and 28 deletions

View file

@ -49,7 +49,7 @@ internal class ObjectIdentification : IObjectIdentifier
var (begin, _) = FindIndexRange((List<(ulong, IReadOnlyList<Item>)>)_weapons,
((ulong)setId << 32) | ((ulong)weaponType << 16) | variant,
0xFFFFFFFFFFFF);
return begin >= 0 ? _weapons[begin].Item2 : null;
return begin >= 0 ? _weapons[begin].Item2 : Array.Empty<Item>();
}
default:
{