mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-12 06:25:32 +00:00
Remove some dead properties from Tile
This commit is contained in:
parent
327907988b
commit
151681bd80
@ -56,17 +56,12 @@ abstract class Tile extends Position{
|
|||||||
public $chunk;
|
public $chunk;
|
||||||
public $name;
|
public $name;
|
||||||
public $id;
|
public $id;
|
||||||
public $attach;
|
|
||||||
public $metadata;
|
|
||||||
public $closed = false;
|
public $closed = false;
|
||||||
public $namedtag;
|
public $namedtag;
|
||||||
protected $lastUpdate;
|
protected $lastUpdate;
|
||||||
protected $server;
|
protected $server;
|
||||||
protected $timings;
|
protected $timings;
|
||||||
|
|
||||||
/** @var TimingsHandler */
|
|
||||||
public $tickTimer;
|
|
||||||
|
|
||||||
public static function init(){
|
public static function init(){
|
||||||
self::registerTile(Bed::class);
|
self::registerTile(Bed::class);
|
||||||
self::registerTile(Chest::class);
|
self::registerTile(Chest::class);
|
||||||
@ -137,7 +132,6 @@ abstract class Tile extends Position{
|
|||||||
|
|
||||||
$this->chunk->addTile($this);
|
$this->chunk->addTile($this);
|
||||||
$this->getLevel()->addTile($this);
|
$this->getLevel()->addTile($this);
|
||||||
$this->tickTimer = Timings::getTileEntityTimings($this);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getId(){
|
public function getId(){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user