menu
#3552669 Cannot use [] for reading

Submitted by PocketMine-MP 3.11.3

General information

Version: 3.11.3
Git commit: 0d5704b1
Plugin involvement: Direct
Report date: 2020-01-14 14:26:46 +0000 UTC

System Information

PHP version: 7.3.13
Operating system: win
System banner: Windows NT SPERMPC 10.0 build 18363 (Windows 10) AMD64

Error information

Warning: a plugin was directly involved in this crash. Please contact the plugin author.
Message: Cannot use [] for reading
File: plugins/wallet/src/Wallet/Main
Line: #63
Error level: E_COMPILE_ERROR
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
			return false;
}
return true;
}

public function chuyentienF(Player $player) {
$player->removeAllWindows();
$formapi = Server::getInstance()->getPluginManager()->getPlugin("FormAPI");
$form = $formapi->createCustomForm(function (Player $player, array $data){
$result = $data[];
$player->sendMessage($data[0]);
$player->sendMessage($data[1]);
});
$form->setTitle("Chuyển tiền");
$form->addInput("Nhập tên người nhận", "Nhập tên");
$form->sendToPlayer($player);
}

public function sendTo(Player $player) : void {
$player->removeAllWindows();

Loaded Plugins

  • Show

Server Settings

  • Show