fix(Misc/Log): Info to debug learn spell (#12774)

fix (logging): Info to Debug Learn Spell
This commit is contained in:
M'Dic
2022-08-21 08:40:37 -04:00
committed by GitHub
parent 3daa8e2146
commit 02541165b4

View File

@@ -3209,7 +3209,7 @@ void Player::learnSpell(uint32 spellId, bool temporary /*= false*/, bool learnFr
// Xinef: don't allow to learn active spell once more
if (HasActiveSpell(spellId))
{
LOG_ERROR("entities.player", "Player ({}) tries to learn already active spell: {}", GetGUID().ToString(), spellId);
LOG_DEBUG("entities.player", "Player ({}) tries to learn already active spell: {}", GetGUID().ToString(), spellId);
return;
}