Error: Declaration of AkmalFairuz\MultiVersion\Loader::onEnable() must be compatible with pocketmine\plugin\PluginBase::onEnable(): void
File: plugins/multiversion(1).phar/src/AkmalFairuz/MultiVersion/Loader
Line: 34
Type: E_COMPILE_ERROR
THIS CRASH WAS CAUSED BY A PLUGIN
Code:
[25] public $craftingManager;
[26]
[27] /** @var bool */
[28] public $canJoin = false;
[29]
[30] public static function getInstance() : self{
[31] return self::$instance;
[32] }
[33]
[34] public function onEnable(){
[35] self::$instance = $this;
[36]
[37] foreach($this->getResources() as $k => $v) {
[38] $this->saveResource($k, $k !== "config.yml");
[39] }
[40]
[41] Config::init($this->getDataFolder() . "config.yml");
[42]
[43] self::$resourcesPath = $this->getDataFolder();
[44] MultiVersionRuntimeBlockMapping::init();
Backtrace:
PocketMine-MP version: 4.0.0 [Protocol 475]