Open ParadoxPlays opened 2 years ago
This should be fixed in 8ad12a08ec7d7dbac29686b90a3d1fb70a8c21de. But someone needs to mark a build on Poggit as release. Because build 27 is marked as latest release but this does not contain the bugfix. https://poggit.pmmp.io/ci/poggit-orphanage/PureChat/PureChat/dev
Error: Class "_64FF00\PureChat\PPGroupChangedEvent" does not exist File: pmsrc/src/plugin/PluginManager Line: 542 Type: ReflectionException Backtrace:
0 pmsrc/src/plugin/PluginManager(542): ReflectionClass->__construct(string[36] _64FF00\PureChat\PPGroupChangedEvent)
1 pmsrc/src/plugin/PluginManager(564): pocketmine\plugin\PluginManager->getEventsHandledBy(object ReflectionMethod#28797)
2 plugins/PureChat.phar/src/_64FF00/PureChat/PureChat(54): pocketmine\plugin\PluginManager->registerEvents(object _64FF00\PureChat\PCListener#28799, object _64FF00\PureChat\PureChat#25916)
3 pmsrc/src/plugin/PluginBase(117): _64FF00\PureChat\PureChat->onEnable()
4 pmsrc/src/plugin/PluginManager(448): pocketmine\plugin\PluginBase->onEnableStateChange(true)
5 pmsrc/src/Server(1419): pocketmine\plugin\PluginManager->enablePlugin(object _64FF00\PureChat\PureChat#25916)
6 pmsrc/src/Server(1024): pocketmine\Server->enablePlugins(object pocketmine\plugin\PluginEnableOrder#25742)
7 pmsrc/src/PocketMine(304): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/)
8 pmsrc/src/PocketMine(327): pocketmine\server()
9 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)
Code: [533] [534] $paramType = $parameters[0]->getType(); [535] //isBuiltin() returns false for builtin classes .................. [536] if(!$paramType instanceof \ReflectionNamedType || $paramType->isBuiltin()){ [537] return null; [538] } [539] [540] / @phpstan-var class-string $paramClass */ [541] $paramClass = $paramType->getName(); [542] $eventClass = new \ReflectionClass($paramClass); [543] if(!$eventClass->isSubclassOf(Event::class)){ [544] return null; [545] } [546] [547] /* @var \ReflectionClass $eventClass /
[548] return $eventClass->getName();
[549] }
[550]
[551] /
[552] * Registers all the events in the given Listener class