Skip to content

Commit a3cc676

Browse files
committed
Improved player spawn, closes #1890
1 parent db72229 commit a3cc676

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pocketmine/Player.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -973,7 +973,7 @@ public function setGamemode($gm){
973973
$pk = new StartGamePacket;
974974
$pk->seed = $this->getLevel()->getSeed();
975975
$pk->x = $this->x;
976-
$pk->y = $this->y;
976+
$pk->y = $this->y + 1.62;
977977
$pk->z = $this->z;
978978
$pk->spawnX = (int) $spawnPosition->x;
979979
$pk->spawnY = (int) $spawnPosition->y;

0 commit comments

Comments
 (0)