tp command fix

This commit is contained in:
GameHerobrine 2023-02-28 13:29:08 +03:00
parent 916dc17fdd
commit 9c94936354
2 changed files with 4 additions and 4 deletions

View file

@ -226,10 +226,10 @@ class Player{
$this->entity->resetSpeed(); $this->entity->resetSpeed();
$this->entity->updateLast(); $this->entity->updateLast();
$this->entity->calculateVelocity(); $this->entity->calculateVelocity();
/*if($terrain === true){ //if($terrain === true){
$this->orderChunks(); $this->orderChunks();
$this->getNextChunk($this->level); //$this->getNextChunk($this->level);
}*/ //}*/
$this->entity->check = true; $this->entity->check = true;
if($force === true){ if($force === true){
$this->forceMovement = $pos; $this->forceMovement = $pos;

View file

@ -7,7 +7,7 @@ class Level{
* 1 - Infinite * 1 - Infinite
* @var integer * @var integer
*/ */
public $generatorType = 0; public $generatorType = 1;
/** /**
* @var Config * @var Config