mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-24 02:46:33 +01:00
[7747] Fixed crash in ModifyGender command. Author: Foks
--HG-- branch : trunk
This commit is contained in:
@@ -7457,7 +7457,7 @@ bool ChatHandler::HandleModifyGenderCommand(const char *args)
|
||||
|
||||
if(!player)
|
||||
{
|
||||
PSendSysMessage(LANG_NO_PLAYER);
|
||||
PSendSysMessage(LANG_NO_PLAYER, args);
|
||||
SetSentErrorMessage(true);
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user