MCPcopy Create free account
hub / github.com/cuberite/cuberite / HandleRespawn

Method HandleRespawn

src/ClientHandle.cpp:1401–1410  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1399
1400
1401void cClientHandle::HandleRespawn(void)
1402{
1403 if (m_Player == NULL)
1404 {
1405 Destroy();
1406 return;
1407 }
1408 m_Player->Respawn();
1409 cRoot::Get()->GetPluginManager()->CallHookPlayerSpawned(*m_Player);
1410}
1411
1412
1413

Callers 3

ParseRespawnMethod · 0.80
ParseClientStatusesMethod · 0.80

Calls 3

RespawnMethod · 0.80
CallHookPlayerSpawnedMethod · 0.80
GetPluginManagerMethod · 0.80

Tested by

no test coverage detected