mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 01:15:35 +01:00
* merge
--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 (achievement,1);
|
||||
AchievementEntry const* achievement = GetAchievementStore()->LookupEntry(value1);
|
||||
return player->GetAchievementMgr().IsCompletedAchievement(value1);
|
||||
}
|
||||
case CONDITION_TEAM:
|
||||
return player->GetTeam() == value1;
|
||||
|
||||
Reference in New Issue
Block a user