Closed ManiakMCPE closed 5 years ago
Please include which versions of PocketMine-MP and FactionsPro you are using when reporting errors.
Also, you should update PureChat to the version listed on Poggit under "Dependencies" for your version of FactionsPro.
On my server when a new player or existing older player joins, it doesn't register or something and breaks a few things. Those players cannot do any factions commands and their chat with PureChat is the default Minecraft text.
ERROR: 17.07 02:34:29 [Server] Server thread/DEBUG #4 src/pocketmine/plugin/RegisteredListener(98): pocketmine\plugin\MethodEventExecutor->execute(_64FF00\PureChat\PCListener object, pocketmine\event\player\PlayerChatEvent object) 17.07 02:34:29 [Server] Server thread/DEBUG #3 src/pocketmine/plugin/MethodEventExecutor(38): _64FF00\PureChat\PCListener->onPlayerChat(pocketmine\event\player\PlayerChatEvent object) 17.07 02:34:29 [Server] Server thread/DEBUG #2 PureChat-master/src/_64FF00/PureChat/PCListener(77): _64FF00\PureChat\PureChat->getChatFormat(pocketmine\Player object, string wait u wanna pvp, NULL ) 17.07 02:34:29 [Server] Server thread/DEBUG #1 PureChat-master/src/_64FF00/PureChat/PureChat(492): _64FF00\PureChat\PureChat->applyPCTags(string ..f... ..l..7Rookie ..r..8[..f{fac_name}..8] ..7OtheblueberryO..8> ..fwait u wanna pvp, pocketmine\Player object, string wait u wanna pvp, NULL ) 17.07 02:34:29 [Server] Server thread/DEBUG #0 PureChat-master/src/_64FF00/PureChat/PureChat(464): _64FF00\PureChat\factions\FactionsProOld->getPlayerFaction(pocketmine\Player object) 17.07 02:34:29 [Server] Server thread/CRITICAL TypeError: "Return value of _64FF00\PureChat\factions\FactionsProOld::getPlayerFaction() must be of the type string, null returned" (EXCEPTION) in "PureChat-master/src/_64FF00/PureChat/factions/FactionsProOld" at line 39 17.07 02:34:29 [Server] Server thread/CRITICAL Could not pass event 'pocketmine\event\player\PlayerChatEvent' to 'PureChat v1.4.10-3': Return value of _64FF00\PureChat\factions\FactionsProOld::getPlayerFaction() must be of the type string, null returned on _64FF00\PureChat\PCListener