mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-23 04:59:46 +00:00
tp command fix
This commit is contained in:
parent
916dc17fdd
commit
9c94936354
2 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ class Level{
|
||||||
* 1 - Infinite
|
* 1 - Infinite
|
||||||
* @var integer
|
* @var integer
|
||||||
*/
|
*/
|
||||||
public $generatorType = 0;
|
public $generatorType = 1;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var Config
|
* @var Config
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue