mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Added individual object timings to Entities / Tile Entities
This commit is contained in:
@ -170,6 +170,8 @@ class Furnace extends Tile implements InventoryHolder, Container{
|
||||
return false;
|
||||
}
|
||||
|
||||
$this->timings->startTiming();
|
||||
|
||||
$ret = false;
|
||||
|
||||
$fuel = $this->inventory->getFuel();
|
||||
@ -248,6 +250,8 @@ class Furnace extends Tile implements InventoryHolder, Container{
|
||||
|
||||
$this->lastUpdate = microtime(true);
|
||||
|
||||
$this->timings->stopTiming();
|
||||
|
||||
return $ret;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user