Error: Declaration of FactionsPro\FactionMain::onCommand(pocketmine\command\CommandSender $sender, pocketmine\command\Command $command, string $label, array $args): bool must be compatible with pocketmine\command\CommandExecutor::onCommand(pocketmine\command\CommandSender $sender, pocketmine\command\Command $command, $label, array $args)
File: /FactionsPro-master/src/FactionsPro/FactionMain
Line: 35
Type: E_COMPILE_ERROR
THIS CRASH WAS CAUSED BY A PLUGIN
Code:
[26] use pocketmine\event\entity\EntityDamageByEntityEvent;
[27] use pocketmine\utils\TextFormat;
[28] use pocketmine\event\player\PlayerJoinEvent;
[29] use pocketmine\utils\Config;
[30] use pocketmine\event\entity\EntityDamageEvent;
[31] use pocketmine\block\Snow;
[32] use pocketmine\math\Vector3;
[33] use pocketmine\level\Position;
[34]
[35] class FactionMain extends PluginBase implements Listener {
[36]
[37] public $db;
[38] public $prefs;
[39] public $war_req = [];
[40] public $wars = [];
[41] public $war_players = [];
[42] public $antispam;
[43]
[44] public function onEnable() {
[45]
Backtrace:
0 (): pocketmine\Server->crashDump(boolean)
Genisys version: 0000000000000000000000000000000000000000 [Protocol 113; API 3.0.1]
uname -a: Windows NT NS545631 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
PHP version: 7.0.4
Zend version: 3.0.0
OS : WINNT, win
Server uptime: 0 seconds
Number of loaded worlds: 0
Players online: 0/100
Pmmp Crash Dump Sat Jul 29 22:59:33 BST 2017
Error: Declaration of FactionsPro\FactionMain::onCommand(pocketmine\command\CommandSender $sender, pocketmine\command\Command $command, string $label, array $args): bool must be compatible with pocketmine\command\CommandExecutor::onCommand(pocketmine\command\CommandSender $sender, pocketmine\command\Command $command, $label, array $args) File: /FactionsPro-master/src/FactionsPro/FactionMain Line: 35 Type: E_COMPILE_ERROR
THIS CRASH WAS CAUSED BY A PLUGIN
Code: [26] use pocketmine\event\entity\EntityDamageByEntityEvent; [27] use pocketmine\utils\TextFormat; [28] use pocketmine\event\player\PlayerJoinEvent; [29] use pocketmine\utils\Config; [30] use pocketmine\event\entity\EntityDamageEvent; [31] use pocketmine\block\Snow; [32] use pocketmine\math\Vector3; [33] use pocketmine\level\Position; [34] [35] class FactionMain extends PluginBase implements Listener { [36] [37] public $db; [38] public $prefs; [39] public $war_req = []; [40] public $wars = []; [41] public $war_players = []; [42] public $antispam; [43] [44] public function onEnable() { [45]
Backtrace:
0 (): pocketmine\Server->crashDump(boolean)
Genisys version: 0000000000000000000000000000000000000000 [Protocol 113; API 3.0.1] uname -a: Windows NT NS545631 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64 PHP version: 7.0.4 Zend version: 3.0.0 OS : WINNT, win
Server uptime: 0 seconds Number of loaded worlds: 0 Players online: 0/100