falkirks / RankUp

A comically full-featured prison rankup plugin for PocketMine-MP
MIT License
19 stars 49 forks source link

Update 3.0.0ALPHA 7 #38

Closed AffanStarPure closed 6 years ago

AffanStarPure commented 7 years ago

Update Plugin 3.0.0ALPHA 7 I have tired fix myself support pmmp please crashed my server i tired fix myself

falkirks commented 7 years ago

Please give me the crash dump if you want it updated

AffanStarPure commented 7 years ago

PocketMine-MP Crash Dump Fri Oct 20 18:06:04 UTC 2017

Error: Declaration of rankup\command\RankUpCommand::getPlugin() must be compatible with pocketmine\command\PluginIdentifiableCommand::getPlugin(): pocketmine\plugin\Plugin File: RankUp-master/src/rankup/command/RankUpCommand Line: 10 Type: E_COMPILE_ERROR

THIS CRASH WAS CAUSED BY A PLUGIN BAD PLUGIN: RankUp v0.3.8

Code: [1] <?php [2] namespace rankup\command; [3] [4] use pocketmine\command\Command; [5] use pocketmine\command\CommandSender; [6] use pocketmine\command\PluginIdentifiableCommand; [7] use pocketmine\Player; [8] use rankup\RankUp; [9] [10] class RankUpCommand extends Command implements PluginIdentifiableCommand{ [11] private $main; [12] public function construct(RankUp $main){ [13] parent::construct("rankup", "Get all the ranks.", "/rankup", ["ru"]); [14] $this->main = $main; [15] } [16] public function execute(CommandSender $sender, $label, array $args){ [17] if ($sender instanceof Player && count($args) == 0 || !$sender->hasPermission("rankup.admin")) { [18] if ($sender->hasPermission("rankup.rankup")) { [19] $nextRank = $this->getPlugin()->getRankStore()->getNextRank($sender); [20] //$sender->sendMessage($nextRank->getName());

Backtrace:

PocketMine-MP version: 1.7dev #82 [Protocol 137; API 3.0.0-ALPHA8] Git commit: 0000000000000000000000000000000000000000 uname -a: Linux fr3.server.pro 3.14.32-xxxx-grs-ipv6-64 #7 SMP Wed Jan 27 18:05:09 CET 2016 x86_64 PHP Version: 7.2.0RC2 Zend version: 3.2.0-dev OS : Linux, linux

Loaded plugins: DevTools 1.12.4 by PocketMine Team for API(s) 3.0.0-ALPHA7, 3.0.0-ALPHA8, 3.0.0-ALPHA9 MapImageEngine 1.0.10 by FaigerSYS for API(s) 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 Envoys 0.0.1 by BajanVlogs for API(s) 3.0.0-ALPHA6, 3.0.0-ALPHA7, 3.0.0-ALPHA8, 3.0.0-ALPHA9 RankUp 0.3.8 by Falkirks for API(s) 3.0.0-ALPHA5, 3.0.0-ALPHA6, 3.0.0-ALPHA7, 3.0.0-ALPHA8

This crash dump @Falkirks

falkirks commented 7 years ago

Thank you.

Ifera commented 6 years ago

Such an old issue this should be closed as it is fixed