mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-08-20 18:31:23 +00:00
World: get rid of temporalPosition too (entirely unused)
This commit is contained in:
parent
fc7672c6ba
commit
bf5c06f285
@ -225,9 +225,6 @@ class World implements ChunkManager{
|
|||||||
/** @var bool */
|
/** @var bool */
|
||||||
private $autoSave = true;
|
private $autoSave = true;
|
||||||
|
|
||||||
/** @var Position */
|
|
||||||
private $temporalPosition;
|
|
||||||
|
|
||||||
/** @var int */
|
/** @var int */
|
||||||
private $sleepTicks = 0;
|
private $sleepTicks = 0;
|
||||||
|
|
||||||
@ -366,7 +363,6 @@ class World implements ChunkManager{
|
|||||||
}
|
}
|
||||||
|
|
||||||
$this->timings = new WorldTimings($this);
|
$this->timings = new WorldTimings($this);
|
||||||
$this->temporalPosition = new Position(0, 0, 0, $this);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getTickRateTime() : float{
|
public function getTickRateTime() : float{
|
||||||
@ -435,7 +431,6 @@ class World implements ChunkManager{
|
|||||||
$this->provider->close();
|
$this->provider->close();
|
||||||
$this->provider = null;
|
$this->provider = null;
|
||||||
$this->blockCache = [];
|
$this->blockCache = [];
|
||||||
$this->temporalPosition = null;
|
|
||||||
|
|
||||||
$this->closed = true;
|
$this->closed = true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user