mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-10 03:59:05 +01:00
* Backed out changeset ddd823e3e200
* hg commit <filename> isn't enough to push one file * also need hg push <filename> --HG-- branch : trunk
This commit is contained in:
@@ -7727,8 +7727,8 @@ bool PlayerCondition::Meets(Player const * player) const
|
||||
}
|
||||
case CONDITION_ACHIEVEMENT:
|
||||
{
|
||||
AchievementEntry const* achievement = GetAchievementStore()->LookupEntry(value1);
|
||||
return player->GetAchievementMgr().IsCompletedAchievement(value1);
|
||||
AchievementEntry const* achievement = GetAchievementStore()->LookupEntry(value1);
|
||||
return (achievement,1);
|
||||
}
|
||||
case CONDITION_TEAM:
|
||||
return player->GetTeam() == value1;
|
||||
|
||||
Reference in New Issue
Block a user