This commit is contained in:
GameHerobrine 2023-07-04 15:33:41 +03:00
parent 8d1e76f84d
commit 28c0541164

View file

@ -222,7 +222,7 @@ class Player{
$this->entity->updateLast(); $this->entity->updateLast();
$this->entity->calculateVelocity(); $this->entity->calculateVelocity();
//if($terrain === true){ //if($terrain === true){
$this->orderChunks();
//$this->getNextChunk($this->level); //$this->getNextChunk($this->level);
//}*/ //}*/
$this->entity->check = true; $this->entity->check = true;
@ -230,7 +230,8 @@ class Player{
$this->forceMovement = $pos; $this->forceMovement = $pos;
} }
} }
$this->orderChunks();
$this->getNextChunk($this->level);
$pk = new MovePlayerPacket; $pk = new MovePlayerPacket;
$pk->eid = 0; $pk->eid = 0;
$pk->x = $pos->x; $pk->x = $pos->x;