Problem description When i use InventoryTransactionEvent in plugin, when i checking if player click item in chest he should to send message to him. But when player use item in PlayerInventory, working function when player use in chest. Steps to reproduce the bug Use this code: PHP: public function transactionEvent(\pocketmine\event\inventory\InventoryTransactionEvent $e){foreach($e->getTransaction()->getTransactions() as $transaction){foreach($e->getTransaction()->getInventories() as $inv){if($inv->getHolder() instanceof \pocketmine\Player) $p = $inv->getHolder();elseif($inv->getHolder() instanceof \pocketmine\tile\Chest) $chest = $inv->getHolder();if($transaction->getTargetItem()->getId() == 0 and $transaction->getTargetItem()->getDamage() == 0){$p->sendMessage("Working");}}}}