mirror of
https://github.com/araxiaonline/mod-transmog.git
synced 2026-06-13 02:32:22 -04:00
Update Transmogrification.cpp
This commit is contained in:
@@ -797,10 +797,10 @@ bool Transmogrification::SuitableForTransmogrification(Player* player, ItemTempl
|
||||
}
|
||||
}
|
||||
|
||||
if ((proto->HasFlag2(ITEM_FLAG2_FACTION_HORDE) && player->GetTeamId() != TEAM_HORDE)
|
||||
if (proto->HasFlag2(ITEM_FLAG2_FACTION_HORDE) && player->GetTeamId() != TEAM_HORDE)
|
||||
return false;
|
||||
|
||||
if ((proto->HasFlag2(ITEM_FLAG2_FACTION_ALLIANCE) && player->GetTeamId() != TEAM_ALLIANCE)
|
||||
if (proto->HasFlag2(ITEM_FLAG2_FACTION_ALLIANCE) && player->GetTeamId() != TEAM_ALLIANCE)
|
||||
return false;
|
||||
|
||||
if (!IgnoreReqClass && (proto->AllowableClass & player->getClassMask()) == 0)
|
||||
|
||||
Reference in New Issue
Block a user