Improved player spawn, closes #1890

This commit is contained in:
Shoghi Cervantes 2014-08-21 19:18:06 +02:00
parent db7222976e
commit a3cc676ac6

View File

@ -973,7 +973,7 @@ class Player extends Human implements CommandSender, InventoryHolder, IPlayer{
$pk = new StartGamePacket;
$pk->seed = $this->getLevel()->getSeed();
$pk->x = $this->x;
$pk->y = $this->y;
$pk->y = $this->y + 1.62;
$pk->z = $this->z;
$pk->spawnX = (int) $spawnPosition->x;
$pk->spawnY = (int) $spawnPosition->y;