aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Handlers/NPCHandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/game/Handlers/NPCHandler.cpp')
-rw-r--r--src/server/game/Handlers/NPCHandler.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/server/game/Handlers/NPCHandler.cpp b/src/server/game/Handlers/NPCHandler.cpp
index 999b71d69a3..b150663121e 100644
--- a/src/server/game/Handlers/NPCHandler.cpp
+++ b/src/server/game/Handlers/NPCHandler.cpp
@@ -250,11 +250,6 @@ void WorldSession::HandleTrainerBuySpellOpcode(WorldPacket& recvData)
_player->CastSpell(_player, trainer_spell->SpellID, true);
else
_player->LearnSpell(spellId, false);
-
- WorldPacket data(SMSG_TRAINER_BUY_SUCCEEDED, 12);
- data << guid;
- data << uint32(spellId);
- SendPacket(&data);
}
void WorldSession::SendTrainerBuyFailed(ObjectGuid guid, uint32 spellId, uint32 reason)
@@ -434,11 +429,6 @@ void WorldSession::SendBindPoint(Creature* npc)
// send spell for homebinding (3286)
npc->CastSpell(_player, bindspell, true);
- WorldPacket data(SMSG_TRAINER_BUY_SUCCEEDED, 12);
- data << npc->GetGUID();
- data << uint32(bindspell);
- SendPacket(&data);
-
_player->PlayerTalkClass->SendCloseGossip();
}