Found unknown fields for SetSpawnPositionPacket

This commit is contained in:
Dylan K. Taylor
2017-05-27 13:09:58 +01:00
parent af06d78725
commit 954271b90f
2 changed files with 10 additions and 6 deletions

View File

@ -1180,6 +1180,7 @@ class Player extends Human implements CommandSender, InventoryHolder, ChunkLoade
$pk->x = (int) $this->spawnPosition->x;
$pk->y = (int) $this->spawnPosition->y;
$pk->z = (int) $this->spawnPosition->z;
$pk->spawnType = SetSpawnPositionPacket::TYPE_PLAYER_SPAWN;
$this->dataPacket($pk);
}