mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-03-16 14:05:28 +00:00
chore(Script/Misc): cleanup (#19619)
* chore(Script/Misc): cleanup * more cleanup * cleanup
This commit is contained in:
@@ -130,7 +130,7 @@ public:
|
||||
|
||||
if (target->IsBeingTeleported())
|
||||
{
|
||||
handler->SendErrorMessage(LANG_IS_TELEPORTED, chrNameLink.c_str());
|
||||
handler->SendErrorMessage(LANG_IS_TELEPORTED, chrNameLink);
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -233,7 +233,7 @@ public:
|
||||
Group* grp = target->GetGroup();
|
||||
if (!grp)
|
||||
{
|
||||
handler->SendErrorMessage(LANG_NOT_IN_GROUP, nameLink.c_str());
|
||||
handler->SendErrorMessage(LANG_NOT_IN_GROUP, nameLink);
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -256,7 +256,7 @@ public:
|
||||
continue;
|
||||
}
|
||||
|
||||
handler->PSendSysMessage(LANG_TELEPORTING_TO, plNameLink.c_str(), "", tele->name);
|
||||
handler->PSendSysMessage(LANG_TELEPORTING_TO, plNameLink, "", tele->name);
|
||||
if (handler->needReportToTarget(player))
|
||||
ChatHandler(player->GetSession()).PSendSysMessage(LANG_TELEPORTED_TO_BY, nameLink);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user