mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-12 06:25:32 +00:00
Entity: remove dead code
[bc break]
This commit is contained in:
parent
6ee551c5e1
commit
2029e3be20
@ -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{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user