mirror of
https://github.com/araxiaonline/mod-transmog.git
synced 2026-06-13 02:32:22 -04:00
Merge branch 'master' into araxia-main
This commit is contained in:
@@ -578,7 +578,7 @@ public:
|
||||
CharacterDatabase.CommitTransaction(trans);
|
||||
}
|
||||
else
|
||||
session->SendNotification(LANG_ERR_UNTRANSMOG_NO_TRANSMOGS);
|
||||
ChatHandler(session).SendNotification(LANG_ERR_UNTRANSMOG_NO_TRANSMOGS);
|
||||
|
||||
OnGossipHello(player, creature);
|
||||
} break;
|
||||
@@ -734,7 +734,9 @@ public:
|
||||
}
|
||||
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
|
||||
@@ -771,7 +773,7 @@ public:
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user