浏览代码

new players do now spawn above ground

Kolja Strohm 8 月之前
父节点
当前提交
11c3684753
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      FactoryCraft/Game.cpp

+ 1 - 1
FactoryCraft/Game.cpp

@@ -1093,7 +1093,7 @@ GameClient* Game::addPlayer(FCKlient* client, Framework::Text name)
                              --h},
                 player->getDimensionId());
         player->setPosition(
-            {player->getPosition().x, player->getPosition().y, (float)h + 1.f});
+            {player->getPosition().x, player->getPosition().y, (float)h + 2.f});
     }
     requestWorldUpdate(new AddEntityUpdate(player, player->getDimensionId()));
     chat->addObserver(gameClient->zEntity()->getId());