Closed BLAST1718 closed 3 years ago
@BLAST1718 What is the version of your SkyBlock plugin?
@BLAST1718 I know what caused this error, you are using the master branch of SkyBlock plugin repository, check out commit 63c9a69ad21db776a361846d08c5af2ef3f3ad54
!
I'll make the plugin compatible with newer SkyBlock versions in future but now now.
PocketMine-MP Crash Dump Mon Mar 15 11:22:11 UTC 2021
Error: Cannot make non static method room17\SkyBlock\island\IslandFactory::createIslandFor() static in class Clouria\IslandArchitect\customized\skyblock\CustomSkyBlockIslandFactory File: plugins/IslandArchitect-1.2.0/src/Clouria/IslandArchitect/customized/skyblock/CustomSkyBlockIslandFactory Line: 47 Type: E_COMPILE_ERROR
THIS CRASH WAS CAUSED BY A PLUGIN BAD PLUGIN: IslandArchitect v1.2.0
Code: [38] runtime\TemplateIslandGenerator}; [39] [40] use function uniqid; [41] use function microtime; [42] use function serialize; [43] [44] class CustomSkyBlockIslandFactory extends IslandFactory { [45] use CustomizableClassTrait; [46] [47] public static function createIslandFor(Session $session, string $type): void { [48] $mapped = IslandArchitect::getInstance()->mapGeneratorType($type); [49] if ($mapped === null) { [50] parent::createIslandFor($session, $type); [51] return; [52] } [53] [54] $ev = new IslandWorldPreCreateEvent($session, static::createIslandIdentifier(), $mapped); [55] $ev->call(); [56] $identifier = $ev->getIdentifier(); [57]