mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
lastCorrct will be set after StartGamePacket
This commit is contained in:
parent
1b8c16b318
commit
369693ef03
1 changed files with 1 additions and 1 deletions
|
|
@ -1442,7 +1442,7 @@ class Player{
|
|||
$pk->gamemode = $this->gamemode & 0x01;
|
||||
$pk->eid = 0;
|
||||
$this->dataPacket($pk);
|
||||
|
||||
$this->lastCorrect = new Vector3($this->entity->x, $this->entity->y, $this->entity->z);
|
||||
if(($level = $this->server->api->level->get($this->data->get("spawn")["level"])) !== false){
|
||||
$this->spawnPosition = new Position($this->data->get("spawn")["x"], $this->data->get("spawn")["y"], $this->data->get("spawn")["z"], $level);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue