Bugfix in ObjectIdentification.

This commit is contained in:
Ottermandias 2021-07-27 00:14:29 +02:00
parent 3679b780cf
commit ac468852c7

View file

@ -313,7 +313,7 @@ namespace Penumbra.GameData
default: default:
{ {
var (begin, _) = FindIndexRange( _equipment, var (begin, _) = FindIndexRange( _equipment,
( ( ulong )setId << 32 ) | ( ( ulong )slot.ToSlot() << 16 ) | ( ulong )weaponType, ( ( ulong )setId << 32 ) | ( ( ulong )slot.ToSlot() << 16 ) | variant,
0xFFFFFFFFFFFF ); 0xFFFFFFFFFFFF );
return begin >= 0 ? _equipment[ begin ].Item2.FirstOrDefault() : null; return begin >= 0 ? _equipment[ begin ].Item2.FirstOrDefault() : null;
} }