Core/Player: Improve a log message
This commit is contained in:
@@ -21129,8 +21129,7 @@ void Player::InitDisplayIds()
|
||||
SetNativeDisplayId(info->displayId_m);
|
||||
break;
|
||||
default:
|
||||
TC_LOG_ERROR("entities.player", "Invalid gender %u for player", gender);
|
||||
return;
|
||||
TC_LOG_ERROR("entities.player", "Player %s (%s) has invalid gender %u", GetName().c_str(), GetGUID().ToString().c_str(), gender);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user