Gracefully deal with invalid offhand IMCs.

This commit is contained in:
Ottermandias 2024-07-14 20:38:54 +02:00
parent d6f61f06cb
commit e46fcc4af1
3 changed files with 4 additions and 3 deletions

View file

@ -100,7 +100,8 @@ public readonly record struct ImcIdentifier(
return false;
if (!Enum.IsDefined(ObjectType))
return false;
if (ItemData.AdaptOffhandImc(PrimaryId, out _))
return false;
break;
}