From ac468852c70e7eb4161a50ab9249baaa4f2a0eb8 Mon Sep 17 00:00:00 2001 From: Ottermandias Date: Tue, 27 Jul 2021 00:14:29 +0200 Subject: [PATCH] Bugfix in ObjectIdentification. --- Penumbra.GameData/ObjectIdentification.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Penumbra.GameData/ObjectIdentification.cs b/Penumbra.GameData/ObjectIdentification.cs index 7057c876..be3e5968 100644 --- a/Penumbra.GameData/ObjectIdentification.cs +++ b/Penumbra.GameData/ObjectIdentification.cs @@ -313,7 +313,7 @@ namespace Penumbra.GameData default: { var (begin, _) = FindIndexRange( _equipment, - ( ( ulong )setId << 32 ) | ( ( ulong )slot.ToSlot() << 16 ) | ( ulong )weaponType, + ( ( ulong )setId << 32 ) | ( ( ulong )slot.ToSlot() << 16 ) | variant, 0xFFFFFFFFFFFF ); return begin >= 0 ? _equipment[ begin ].Item2.FirstOrDefault() : null; }