Added server-side join message (removed from client-side MCPE)

This commit is contained in:
Shoghi Cervantes
2014-06-15 00:14:28 +02:00
parent cb1c4da4ea
commit c4673addf7
3 changed files with 31 additions and 3 deletions

View File

@@ -594,7 +594,7 @@ abstract class Entity extends Position implements Metadatable{
foreach($this->getLevel()->getChunkEntities($X, $Z) as $entity){
$entity->despawnFrom($this);
}
$pk = new UnloadChunkPacket();
$pk->chunkX = $X;
$pk->chunkZ = $Z;