Incompatibility with latest PocketMine: CommandEnum not found & TypeError in PacketHooker
Hi there, I’d like to report an issue it, seems that CommandEnum has been removed or possibly replaced with CommandSoftEnum. The affected files include PacketHooker.php, StringEnumArgument.php, and other references to CommandEnum.
Also, in PacketHooker.php, this part sometimes returns an int instead of a string:
$cmd = Server::getInstance()->getCommandMap()->getCommand($commandData->getName());
Thread: Main Error: pocketmine\command\SimpleCommandMap::getCommand(): Argument #1 ($name) must be of type string, int given, called in phar:///home/container/plugins/BroadcastACM.phar/src/fernanACM/BroadcastACM/libs/CortexPE/Commando/PacketHooker.php on line 69 File: pmsrc/src/command/SimpleCommandMap Line: 241 Type: TypeError
BAD PLUGIN: MultiWorld
Error: Class "pocketmine\network\mcpe\protocol\types\command\CommandEnum" not found File: plugins/MultiWorld-pro/src/czechpmdevs/multiworld/libs/CortexPE/Commando/PacketHooker.php Line: 125 Type: Error