mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-04 09:10:00 +00:00
Remove redundant property from Tile
This commit is contained in:
parent
95fa1824c8
commit
af85659c63
@ -268,8 +268,6 @@ class Furnace extends Spawnable implements InventoryHolder, Container, Nameable{
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->lastUpdate = microtime(true);
|
|
||||||
|
|
||||||
$this->timings->stopTiming();
|
$this->timings->stopTiming();
|
||||||
|
|
||||||
return $ret;
|
return $ret;
|
||||||
|
@ -73,8 +73,6 @@ abstract class Tile extends Position{
|
|||||||
public $closed = false;
|
public $closed = false;
|
||||||
/** @var CompoundTag */
|
/** @var CompoundTag */
|
||||||
public $namedtag;
|
public $namedtag;
|
||||||
/** @var float */
|
|
||||||
protected $lastUpdate;
|
|
||||||
/** @var Server */
|
/** @var Server */
|
||||||
protected $server;
|
protected $server;
|
||||||
/** @var TimingsHandler */
|
/** @var TimingsHandler */
|
||||||
@ -142,7 +140,6 @@ abstract class Tile extends Position{
|
|||||||
assert($this->chunk !== null);
|
assert($this->chunk !== null);
|
||||||
|
|
||||||
$this->name = "";
|
$this->name = "";
|
||||||
$this->lastUpdate = microtime(true);
|
|
||||||
$this->id = Tile::$tileCount++;
|
$this->id = Tile::$tileCount++;
|
||||||
$this->x = $this->namedtag->x->getValue();
|
$this->x = $this->namedtag->x->getValue();
|
||||||
$this->y = $this->namedtag->y->getValue();
|
$this->y = $this->namedtag->y->getValue();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user