chore(Script/Misc): cleanup (#19619)
* chore(Script/Misc): cleanup * more cleanup * cleanup
This commit is contained in:
parent
030716421f
commit
7ff8f72397
21 changed files with 145 additions and 122 deletions
|
|
@ -409,7 +409,7 @@ public:
|
|||
|
||||
if (player->IsInFlight() && checkInFlight)
|
||||
{
|
||||
handler->SendErrorMessage(LANG_CHAR_IN_FLIGHT, handler->GetNameLink(player).c_str());
|
||||
handler->SendErrorMessage(LANG_CHAR_IN_FLIGHT, handler->GetNameLink(player));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
@ -799,7 +799,7 @@ public:
|
|||
|
||||
if (r >= MAX_REPUTATION_RANK)
|
||||
{
|
||||
handler->SendErrorMessage(LANG_COMMAND_FACTION_INVPARAM, rankStr.c_str());
|
||||
handler->SendErrorMessage(LANG_COMMAND_FACTION_INVPARAM, rankStr);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue