fix: Fixes SmallBOD Exception validation (#2327)
This commit is contained in:
parent
ac9d7d83ff
commit
15557aa216
1 changed files with 3 additions and 3 deletions
|
|
@ -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.
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue