fix(Misc/Log): Info to debug learn spell (#12774)
fix (logging): Info to Debug Learn Spell
This commit is contained in:
@@ -3209,7 +3209,7 @@ void Player::learnSpell(uint32 spellId, bool temporary /*= false*/, bool learnFr
|
|||||||
// Xinef: don't allow to learn active spell once more
|
// Xinef: don't allow to learn active spell once more
|
||||||
if (HasActiveSpell(spellId))
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user