I have been using pmmp for a long time and i heard of some changes but i cant wrap my head around it. Heres the crashdump. PHP: PMMP Crash Dump Fri Jul 21 17:47:51 ACT 2017Error: Declaration of Masks\Commands\MaskCMD::execute(pocketmine\command\CommandSender $sender, string $commandLabel, array $args) must be compatible with pocketmine\command\Command::execute(pocketmine\command\CommandSender $sender, $commandLabel, array $args)File: /Masks/src/Masks/Commands/MaskCMDLine: 33Type: E_COMPILE_ERRORTHIS CRASH WAS CAUSED BY A PLUGINBAD PLUGIN: Masks v1Code:[24] use pocketmine\nbt\tag\ListTag;[25] use pocketmine\nbt\tag\StringTag;[26] use pocketmine\nbt\tag\IntArrayTag;[27] use pocketmine\tile\Chest;[28] use pocketmine\tile\Tile;[29] use pocketmine\event\entity\EntityInventoryChangeEvent;[30] use pocketmine\entity\Entity;[31] use pocketmine\event\block\BlockPlaceEvent;[32] [33] class MaskCMD extends MaskCommand{[34] public function __construct(Masks $plugin){[35] parent::__construct("mask", $plugin);[36] $this->setUsage("mask");[37] $this->setDescription("gives mask selection");[38] }[39] public function execute(CommandSender $sender, string $commandLabel, array $args){[40] if (!$sender instanceof Player){[41] $sender->sendMessage(C::GOLD."You must be a player");[42] }[43] $this->masks($sender);Backtrace:pmmp version: 1.3 #0 [Protocol 113; API 3.0.0-ALPHA6]Git commit: 0000000000000000000000000000000000000000uname -a: Windows NT DESKTOP-KTJJ760 10.0 build 14393 (Windows 10) AMD64PHP Version: 7.0.3Zend version: 3.0.0OS : WINNT, winLoaded plugins:DevTools 1.12.1 by PocketMine Team for API(s) 2.0.0, 3.0.0-ALPHA1, 3.0.0-ALPHA2, 3.0.0-ALPHA3, 3.0.0-ALPHA4, 3.0.0-ALPHA5, 3.0.0-ALPHA6EconomyAPI 2.0.9 by onebone for API(s) 3.0.0, 3.0.0-ALPHA6, 2.0.0, 2.1.0Masks 1 by LeoDevs for API(s) 3.0.0-ALPHA2, 3.0.0-ALPHA3, 3.0.0-ALPHA4, 3.0.0-ALPHA5, 3.0.0-ALPHA6, 3.0.0-ALPHA7Core 0.0.0.1 by for API(s) 3.0.0, 3.0.0-ALPHA1, 3.0.0-ALPHA2, 3.0.0-ALPHA3, 3.0.0-ALPHA4, 3.0.0-ALPHA5, 3.0.0-ALPHA6, 3.0.0-ALPHA7, 3.0.0-ALPHA8[PHP/]
I accidentally deleted my post. ;( Have you also updated to PocketMine-MP API 3.0.0-ALPHA7? The crashdump you provided says you're using API 3.0.0-ALPHA6. If you're planning to code your plugin to fit with the recent changes you also have to use the newest PocketMine version.
He probably has it imported. You need to update PocketMine. Your version of pocketmine is lower than the strict types commit by dktapps
I think what you've done is typehinted $commandLabel as a string whereas it isn't type hinted in alpha6 as it says right here: Code: Declaration of Masks\Commands\MaskCMD::execute(pocketmine\command\CommandSender $sender, string $commandLabel, array $args) must be compatible with pocketmine\command\Command::execute(pocketmine\command\CommandSender $sender, $commandLabel, array $args)
*facepalm* ah yes, I forget that crash dumps don't show every line of code from that class, but @jasonwynn10 is right, change the string $commandLabel to $commandLabel or update your Pocketmine-MP version, like @Muqsit said.