From 9c9493635489fc346e48f650f9d8bc8be1dc336a Mon Sep 17 00:00:00 2001 From: GameHerobrine Date: Tue, 28 Feb 2023 13:29:08 +0300 Subject: [PATCH] tp command fix --- src/Player.php | 6 +++--- src/world/Level.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Player.php b/src/Player.php index a8cdcb33..784d70d8 100755 --- a/src/Player.php +++ b/src/Player.php @@ -226,10 +226,10 @@ class Player{ $this->entity->resetSpeed(); $this->entity->updateLast(); $this->entity->calculateVelocity(); - /*if($terrain === true){ + //if($terrain === true){ $this->orderChunks(); - $this->getNextChunk($this->level); - }*/ + //$this->getNextChunk($this->level); + //}*/ $this->entity->check = true; if($force === true){ $this->forceMovement = $pos; diff --git a/src/world/Level.php b/src/world/Level.php index 39dfefc5..0bd2d4c6 100644 --- a/src/world/Level.php +++ b/src/world/Level.php @@ -7,7 +7,7 @@ class Level{ * 1 - Infinite * @var integer */ - public $generatorType = 0; + public $generatorType = 1; /** * @var Config