error: Code: [21:21:38] [Server thread/CRITICAL]: Could not pass event 'pocketmine\event\server\DataPacketReceiveEvent' to 'FormAPI v1.0.0': Creating default object from empty value on jojoe77777\FormAPI\FormAPI [21:21:38] [Server thread/CRITICAL]: ErrorException: "Creating default object from empty value" (EXCEPTION) in "hcf/src/hcf/Task2" at line 44 code Task2: PHP: $form = $api->createSimpleForm(function (Player $player, array $args) { $result = $args[0]; if ($result === null) { return; } switch ($result) { case 0: $pk = new TransferPacket();$pk->address = "ip adresst"; $pk->port = 19132; $player->dataPacket($pk); } });