mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-26 23:26:23 +00:00
Merge branch 'azerothcore:master' into Playerbot
This commit is contained in:
@@ -183,7 +183,7 @@ WorldSession::~WorldSession()
|
||||
|
||||
std::string const& WorldSession::GetPlayerName() const
|
||||
{
|
||||
return _player != nullptr ? _player->GetName() : DefaultPlayerName;
|
||||
return _player ? _player->GetName() : DefaultPlayerName;
|
||||
}
|
||||
|
||||
std::string WorldSession::GetPlayerInfo() const
|
||||
|
||||
Reference in New Issue
Block a user