Core/Achievements: Send both SMSG_ACCOUNT_CRITERIA_UPDATE and SMSG_CRITERIA_UPDATE if the same criteria is used by account and character achievements
Port From (https://github.com/TrinityCore/TrinityCore/commit/6d907da00eb6d926103bb633220d3d51e017c5e4)
This commit is contained in:
@@ -617,7 +617,8 @@ namespace Game.Achievements
|
|||||||
criteriaUpdate.Progress.TimeFromCreate = 0;
|
criteriaUpdate.Progress.TimeFromCreate = 0;
|
||||||
SendPacket(criteriaUpdate);
|
SendPacket(criteriaUpdate);
|
||||||
}
|
}
|
||||||
else
|
|
||||||
|
if (criteria.FlagsCu.HasAnyFlag(CriteriaFlagsCu.Player))
|
||||||
{
|
{
|
||||||
CriteriaUpdate criteriaUpdate = new();
|
CriteriaUpdate criteriaUpdate = new();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user