feat(core): allow to debug KickPlayer() (#1549)
This commit is contained in:
@@ -70,7 +70,7 @@ namespace AccountMgr
|
||||
if (Player* p = ObjectAccessor::FindPlayer(guid))
|
||||
{
|
||||
WorldSession* s = p->GetSession();
|
||||
s->KickPlayer(); // mark session to remove at next session list update
|
||||
s->KickPlayer("Delete account"); // mark session to remove at next session list update
|
||||
s->LogoutPlayer(false); // logout player without waiting next session list update
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user