fix: Fixes SmallBOD Exception validation (#2327)

This commit is contained in:
Kamron Batman 2026-02-05 12:02:54 -08:00 committed by GitHub
parent ac9d7d83ff
commit 15557aa216
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -139,9 +139,9 @@ public abstract partial class SmallBOD : BaseBOD
{
from.SendLocalizedMessage(1049352); // The item is not made from the requested leather type.
}
else if (RequireExceptional && (armor?.Quality == ArmorQuality.Exceptional ||
clothing?.Quality == ClothingQuality.Exceptional ||
weapon?.Quality == WeaponQuality.Exceptional))
else if (RequireExceptional && armor?.Quality != ArmorQuality.Exceptional &&
clothing?.Quality != ClothingQuality.Exceptional &&
weapon?.Quality != WeaponQuality.Exceptional)
{
from.SendLocalizedMessage(1045167); // The item must be exceptional.
}