diff --git a/src/transmog_scripts.cpp b/src/transmog_scripts.cpp index d26dc1d8..7bfef347 100644 --- a/src/transmog_scripts.cpp +++ b/src/transmog_scripts.cpp @@ -625,7 +625,7 @@ class npc_transmogrifier : public CreatureScript } std::string name(code); if (name.find('"') != std::string::npos || name.find('\\') != std::string::npos) - player->GetSession()->SendNotification(LANG_PRESET_ERR_INVALID_NAME); + ChatHandler(player->GetSession()).SendNotification(LANG_PRESET_ERR_INVALID_NAME); else { for (uint8 presetID = 0; presetID < sT->GetMaxSets(); ++presetID) // should never reach over max @@ -662,7 +662,7 @@ class npc_transmogrifier : public CreatureScript cost += sT->GetSetCopperCost(); if (!player->HasEnoughMoney(cost)) { - player->GetSession()->SendNotification(LANG_ERR_TRANSMOG_NOT_ENOUGH_MONEY); + ChatHandler(player->GetSession()).SendNotification(LANG_ERR_TRANSMOG_NOT_ENOUGH_MONEY); break; }