diff --git a/src/pocketmine/inventory/transaction/InventoryTransaction.php b/src/pocketmine/inventory/transaction/InventoryTransaction.php index 9db0a6221..b44f1a5de 100644 --- a/src/pocketmine/inventory/transaction/InventoryTransaction.php +++ b/src/pocketmine/inventory/transaction/InventoryTransaction.php @@ -35,8 +35,6 @@ use pocketmine\Server; * This InventoryTransaction only allows doing Transaction between one / two inventories */ class InventoryTransaction{ - /** @var float */ - private $creationTime; protected $hasExecuted = false; /** @var Player */ protected $source; @@ -52,7 +50,6 @@ class InventoryTransaction{ * @param InventoryAction[] $actions */ public function __construct(Player $source, array $actions = []){ - $this->creationTime = microtime(true); $this->source = $source; foreach($actions as $action){ $this->addAction($action); @@ -66,10 +63,6 @@ class InventoryTransaction{ return $this->source; } - public function getCreationTime() : float{ - return $this->creationTime; - } - /** * @return Inventory[] */