mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[7240] Fix logfile spam from AchievementMgr.
Log AchievementMgr::SendAchievementEarned only in debug. Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
parent
5e2553ff7e
commit
c9eacd7a23
2 changed files with 2 additions and 2 deletions
|
|
@ -274,7 +274,7 @@ void AchievementMgr::LoadFromDB(QueryResult *achievementResult, QueryResult *cri
|
|||
|
||||
void AchievementMgr::SendAchievementEarned(AchievementEntry const* achievement)
|
||||
{
|
||||
sLog.outString("AchievementMgr::SendAchievementEarned(%u)", achievement->ID);
|
||||
sLog.outDebug("AchievementMgr::SendAchievementEarned(%u)", achievement->ID);
|
||||
|
||||
const char *msg = "|Hplayer:$N|h[$N]|h has earned the achievement $a!";
|
||||
if(Guild* guild = objmgr.GetGuildById(GetPlayer()->GetGuildId()))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue