fix: remove leftover (#165)

* fix: Fix logic and improve readibility

* fix: remove leftover
This commit is contained in:
Andrew
2024-08-17 04:56:56 -03:00
committed by GitHub
parent 21f5eaf3db
commit 5d4e1b415e

View File

@@ -887,7 +887,7 @@ bool Transmogrification::SuitableForTransmogrification(ObjectGuid guid, ItemTemp
return false; return false;
} }
if (!IgnoreLevelRequirement(guid) && IsPlusFeatureEligible(guid, PLUS_FEATURE_SKIP_LEVEL_REQ) && playerLevel < proto->RequiredLevel) if (!IgnoreLevelRequirement(guid) && playerLevel < proto->RequiredLevel)
return false; return false;
if (AllowLowerTiers && TierAvailable(NULL, playerGuid, proto->SubClass)) if (AllowLowerTiers && TierAvailable(NULL, playerGuid, proto->SubClass))