mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Fix typo in previous commit (thanks to 4178...something)
--HG-- branch : trunk
This commit is contained in:
@@ -3537,7 +3537,7 @@ void Player::learnSpell(uint32 spell_id, bool dependent)
|
||||
bool learning = addSpell(spell_id,active,true,dependent,false);
|
||||
|
||||
// prevent duplicated entires in spell book, also not send if not in world (loading)
|
||||
if (learning || IsInWorld())
|
||||
if (learning && IsInWorld())
|
||||
{
|
||||
WorldPacket data(SMSG_LEARNED_SPELL, 6);
|
||||
data << uint32(spell_id);
|
||||
|
||||
Reference in New Issue
Block a user