mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-16 19:59:11 +00:00
Entity: remove dead code
[bc break]
This commit is contained in:
@@ -141,9 +141,6 @@ abstract class Entity{
|
|||||||
/** @var int */
|
/** @var int */
|
||||||
protected $fireTicks = 0;
|
protected $fireTicks = 0;
|
||||||
|
|
||||||
/** @var bool */
|
|
||||||
protected $isStatic = false;
|
|
||||||
|
|
||||||
private bool $savedWithChunk = true;
|
private bool $savedWithChunk = true;
|
||||||
|
|
||||||
/** @var bool */
|
/** @var bool */
|
||||||
@@ -999,9 +996,7 @@ abstract class Entity{
|
|||||||
|
|
||||||
$this->timings->stopTiming();
|
$this->timings->stopTiming();
|
||||||
|
|
||||||
//if($this->isStatic())
|
|
||||||
return ($hasUpdate || $this->hasMovementUpdate());
|
return ($hasUpdate || $this->hasMovementUpdate());
|
||||||
//return !($this instanceof Player);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
final public function scheduleUpdate() : void{
|
final public function scheduleUpdate() : void{
|
||||||
|
Reference in New Issue
Block a user