mirror of
https://github.com/mangosfour/server.git
synced 2025-12-26 07:37:02 +00:00
[10293] Correct a not exitan...non-existin... a word that is often spelled wrong
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
99ac2d43a7
commit
25d9fd265b
43 changed files with 163 additions and 163 deletions
|
|
@ -113,7 +113,7 @@ void WorldSession::HandleSendMail(WorldPacket & recv_data )
|
|||
|
||||
if (!rc)
|
||||
{
|
||||
DETAIL_LOG("Player %u is sending mail to %s (GUID: not existed!) with subject %s and body %s includes %u items, %u copper and %u COD copper with unk1 = %u, unk2 = %u",
|
||||
DETAIL_LOG("Player %u is sending mail to %s (GUID: nonexistent!) with subject %s and body %s includes %u items, %u copper and %u COD copper with unk1 = %u, unk2 = %u",
|
||||
pl->GetGUIDLow(), receiver.c_str(), subject.c_str(), body.c_str(), items_count, money, COD, unk1, unk2);
|
||||
pl->SendMailResult(0, MAIL_SEND, MAIL_ERR_RECIPIENT_NOT_FOUND);
|
||||
return;
|
||||
|
|
@ -385,7 +385,7 @@ void WorldSession::HandleMailReturnToSender(WorldPacket & recv_data )
|
|||
CharacterDatabase.CommitTransaction();
|
||||
pl->RemoveMail(mailId);
|
||||
|
||||
// send back only to existed players and simple drop for other cases
|
||||
// send back only to existing players and simple drop for other cases
|
||||
if (m->messageType == MAIL_NORMAL && m->sender)
|
||||
{
|
||||
MailDraft draft(m->subject, m->body);
|
||||
|
|
@ -823,7 +823,7 @@ MailSender::MailSender( Object* sender, MailStationery stationery ) : m_statione
|
|||
break;
|
||||
default:
|
||||
m_messageType = MAIL_NORMAL;
|
||||
m_senderId = 0; // will show mail from not existed player
|
||||
m_senderId = 0; // will show mail from nonexistent player
|
||||
sLog.outError( "MailSender::MailSender - Mail have unexpected sender typeid (%u)", sender->GetTypeId());
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue