1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Primus Prison to 3.0.0 :?

Discussion in 'Plugin Help' started by TheKartoffeln, Dec 16, 2018.

  1. TheKartoffeln

    TheKartoffeln Creeper

    Messages:
    3
    GitHub:
    TheKartoffeln
    Can anyone help me to update PrimusLV prison?

    PocketMine-MP Crash Dump Sun Dec 16 05:54:16 EST 2018


    Error: Declaration of prison\command\RankUp::getPlugin() must be compatible with pocketmine\command\PluginIdentifiableCommand::getPlugin(): pocketmine\plugin\Plugin

    File: Prison/src/prison/command/RankUp

    Line: 14

    Type: E_COMPILE_ERROR


    THIS CRASH WAS CAUSED BY A PLUGIN

    BAD PLUGIN: Prison v1.1.0


    Code:

    [5] use pocketmine\command\PluginIdentifiableCommand;

    [6] use pocketmine\command\CommandSender;

    [7] use pocketmine\utils\TextFormat as Text;

    [8] use pocketmine\Player;

    [9]

    [10] use prison\Prison;

    [11]

    [12] use _64FF00\PurePerms\PPGroup;

    [13]

    [14] class RankUp extends Command implements PluginIdentifiableCommand

    [15] {

    [16]

    [17] public function __construct(Prison $plugin, $name, $description, $usage, array $aliases){

    [18] parent::__construct($name, $description, $usage, $aliases);

    [19] $this->setPermission('prison.rankup');

    [20]

    [21] $this->plugin = $plugin;

    [22] }

    [23]

    [24] public function execute(CommandSender $sender, $label, array $args){


    Backtrace:


    PocketMine-MP version: 3.5.1 [Protocol 313]

    Git commit: b42132a7c36903608008697b38d96ed026db3ab3

    uname -a: Linux lionblood 3.10.0-862.11.6.vz7.71.8 #1 SMP Fri Aug 31 18:21:42 MSK 2018 x86_64

    PHP Version: 7.2.11

    Zend version: 3.2.0

    OS : Linux, linux
     
  2. Primus

    Primus Zombie Pigman

    Messages:
    749
    Last edited: Dec 16, 2018
  3. TheKartoffeln

    TheKartoffeln Creeper

    Messages:
    3
    GitHub:
    TheKartoffeln
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.