Closed andris155 closed 6 years ago
/afk name getPermissionMessage() error
2017-10-21 [17:18:39] [Server thread/INFO]: [CmdSnooper] Simi45zz> /afk Ghost 2017-10-21 [17:18:39] [Server thread/CRITICAL]: Unhandled exception executing command 'afk Ghost' in afk: Return value of pocketmine\command\Command::getPermissionMessage() must be of the type string, null returned 2017-10-21 [17:18:39] [Server thread/CRITICAL]: TypeError: "Return value of pocketmine\command\Command::getPermissionMessage() must be of the type string, null returned" (EXCEPTION) in "src/pocketmine/command/Command" at line 281 2017-10-21 [17:18:39] [Server thread/DEBUG]: #0 EssentialsPE.phar/src/EssentialsPE/Commands/AFK(39): pocketmine\command\Command->getPermissionMessage() 2017-10-21 [17:18:39] [Server thread/DEBUG]: #1 src/pocketmine/command/SimpleCommandMap(258): EssentialsPE\Commands\AFK->execute(pocketmine\Player object, string afk, array Array()) 2017-10-21 [17:18:39] [Server thread/DEBUG]: #2 src/pocketmine/Server(1968): pocketmine\command\SimpleCommandMap->dispatch(pocketmine\Player object, string afk Ghost) 2017-10-21 [17:18:39] [Server thread/DEBUG]: #3 src/pocketmine/Player(2127): pocketmine\Server->dispatchCommand(pocketmine\Player object, string afk Ghost) 2017-10-21 [17:18:39] [Server thread/DEBUG]: #4 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(220): pocketmine\Player->chat(string /afk Ghost) 2017-10-21 [17:18:39] [Server thread/DEBUG]: #5 src/pocketmine/network/mcpe/protocol/CommandRequestPacket(47): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleCommandRequest(pocketmine\network\mcpe\protocol\CommandRequestPacket object) 2017-10-21 [17:18:39] [Server thread/DEBUG]: #6 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object) 2017-10-21 [17:18:39] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/protocol/BatchPacket(118): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\CommandRequestPacket object) 2017-10-21 [17:18:39] [Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object) 2017-10-21 [17:18:39] [Server thread/DEBUG]: #9 src/pocketmine/Player(3012): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object) 2017-10-21 [17:18:39] [Server thread/DEBUG]: #10 src/pocketmine/network/mcpe/RakLibInterface(143): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object) 2017-10-21 [17:18:39] [Server thread/DEBUG]: #11 src/raklib/server/ServerHandler(97): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string xx.x.xx.xx.65:53442, raklib\protocol\EncapsulatedPacket object, integer 0) 2017-10-21 [17:18:39] [Server thread/DEBUG]: #12 src/pocketmine/network/mcpe/RakLibInterface(82): raklib\server\ServerHandler->handlePacket() 2017-10-21 [17:18:39] [Server thread/DEBUG]: #13 src/pocketmine/network/Network(89): pocketmine\network\mcpe\RakLibInterface->process() 2017-10-21 [17:18:39] [Server thread/DEBUG]: #14 src/pocketmine/Server(2498): pocketmine\network\Network->processInterfaces() 2017-10-21 [17:18:39] [Server thread/DEBUG]: #15 src/pocketmine/Server(2254): pocketmine\Server->tick() 2017-10-21 [17:18:39] [Server thread/DEBUG]: #16 src/pocketmine/Server(2133): pocketmine\Server->tickProcessor() 2017-10-21 [17:18:39] [Server thread/DEBUG]: #17 src/pocketmine/Server(1715): pocketmine\Server->start() 2017-10-21 [17:18:39] [Server thread/DEBUG]: #18 src/pocketmine/PocketMine(558): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string phar:///home/minecraft/multicraft/jar/PocketMine-MP_1.7dev.phar/, string /home/minecraft/multicraft/servers/server2/, string /home/minecraft/multicraft/servers/server2/plugins/) 2017-10-21 [17:18:39] [Server thread/DEBUG]: #19 /home/minecraft/multicraft/jar/PocketMine-MP_1.7dev.phar(1): require_once(string phar:///home/minecraft/multicraft/jar/PocketMine-MP_1.7dev.phar/src/pocketmine/PocketMine.php)
Description
/afk name getPermissionMessage() error
Versions
Crashdump or console errors