Hi, On my GitHub organisation me and my friend forked the plugin TimeRanks and updated its API, but when I use it on my server I get this error. Spoiler: Error PocketMine-MP Crash Dump Sun Sep 24 18:01:56 UTC 2017 Error: Declaration of TimeRanks\Main:nCommand(pocketmine\command\CommandSender $sender, pocketmine\command\Command $command, $label, array $args) must be compatible with pocketmine\plugin\PluginBase:nCommand(pocketmine\command\CommandSender $sender, pocketmine\command\Command $command, string $label, array $args): bool File: TimeRanks_v1.phar/src/TimeRanks/Main Line: 13 Type: E_COMPILE_ERROR THIS CRASH WAS CAUSED BY A PLUGIN Code: [4] [5] use pocketmine\command\Command; [6] use pocketmine\command\CommandSender; [7] use pocketmine\Player; [8] use pocketmine\plugin\Plugin; [9] use pocketmine\plugin\PluginBase; [10] use pocketmine\utils\Config; [11] use TimeRanks\events\PlayerRankUpEvent; [12] [13] class Main extends PluginBase{ [14] [15] public $ranks; [16] /**@var \_64FF00\PurePerms\PurePerms*/ [17] public $purePerms; [18] /**@var Config:ROPERTIES*/ [19] public $data; [20] /**@var TimeRanksCommand*/ [21] public $command; [22] public $default; [23] Backtrace: PocketMine-MP version: 1.7dev #65 [Protocol 137; API 3.0.0-ALPHA8] Git commit: 0000000000000000000000000000000000000000 uname -a: Linux 315b05e23b19 4.4.30-mod-std-ipv6-64 #9 SMP Tue Nov 1 17:58:26 CET 2016 x86_64 PHP Version: 7.2.0RC2 Zend version: 3.2.0-dev OS : Linux, linux From my understanding, and @NickTehUnicorns teachings, I will have to keep a bool at the end of lline 13? Am I correct, if not please explain what I have to do.
Replying to you with https://forums.pmmp.io/threads/updating-a-plugin-to-work-with-different-apis-the-manual-way.3647/ for the 1038294728576th time.