poggit-orphanage / FactionsPro

By Tethered
21 stars 69 forks source link

error when player join (kick player) #86

Closed HUYDGD closed 3 years ago

HUYDGD commented 4 years ago

ErrorException: "Trying to access array offset on value of type bool" (EXCEPTION) in "plugins/FactionsPro-master/src/FactionsPro/FactionMain" at line 332 [11:33:37] [Server thread/CRITICAL]: #0 plugins/FactionsPro-master/src/FactionsPro/FactionMain(332): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string[51] Trying to access array offset on value of type bool, string[104] C:\Users\SoiOniichan\Desktop\prison\SkyPrison\plugins\FactionsPro-master\src\Fac, integer 332, array[3]) [11:33:37] [Server thread/CRITICAL]: #1 plugins/FactionsPro-master/src/FactionsPro/FactionMain(478): FactionsPro\FactionMain->getPlayerFaction(string[10] WolfTubeTM) [11:33:37] [Server thread/CRITICAL]: #2 plugins/FactionsPro-master/src/FactionsPro/FactionListener(162): FactionsPro\FactionMain->updateTag(string[10] WolfTubeTM) [11:33:37] [Server thread/CRITICAL]: #3 src/pocketmine/plugin/MethodEventExecutor(42): FactionsPro\FactionListener->onPlayerJoin(object pocketmine\event\player\PlayerJoinEvent) [11:33:37] [Server thread/CRITICAL]: #4 src/pocketmine/plugin/RegisteredListener(80): pocketmine\plugin\MethodEventExecutor->execute(object FactionsPro\FactionListener, object pocketmine\event\player\PlayerJoinEvent) [11:33:37] [Server thread/CRITICAL]: #5 src/pocketmine/event/Event(88): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\player\PlayerJoinEvent) [11:33:37] [Server thread/CRITICAL]: #6 src/pocketmine/Player(1085): pocketmine\event\Event->call() [11:33:37] [Server thread/CRITICAL]: #7 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(315): pocketmine\Player->doFirstSpawn() [11:33:37] [Server thread/CRITICAL]: #8 src/pocketmine/network/mcpe/protocol/SetLocalPlayerAsInitializedPacket(45): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleSetLocalPlayerAsInitialized(object pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket) [11:33:37] [Server thread/CRITICAL]: #9 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter) [11:33:37] [Server thread/CRITICAL]: #10 src/pocketmine/network/mcpe/protocol/BatchPacket(127): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket) [11:33:37] [Server thread/CRITICAL]: #11 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter) [11:33:37] [Server thread/CRITICAL]: #12 src/pocketmine/Player(3247): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket) [11:33:37] [Server thread/CRITICAL]: #13 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket) [11:33:37] [Server thread/CRITICAL]: #14 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[18] 123.21.12.93 56957, object raklib\protocol\EncapsulatedPacket, integer 0) [11:33:37] [Server thread/CRITICAL]: #15 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket() [11:33:37] [Server thread/CRITICAL]: #16 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process() [11:33:37] [Server thread/CRITICAL]: #17 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe{closure}() [11:33:37] [Server thread/CRITICAL]: #18 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications() [11:33:37] [Server thread/CRITICAL]: #19 src/pocketmine/Server(2157): pocketmine\snooze\SleeperHandler->sleepUntil(double 1596170017.1684) [11:33:37] [Server thread/CRITICAL]: #20 src/pocketmine/Server(1994): pocketmine\Server->tickProcessor() [11:33:37] [Server thread/CRITICAL]: #21 src/pocketmine/Server(1588): pocketmine\Server->start() [11:33:37] [Server thread/CRITICAL]: #22 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[46] C:\Users\SoiOniichan\Desktop\prison\SkyPrison\, string[54] C:\Users\SoiOniichan\Desktop\prison\SkyPrison\plugins) [11:33:37] [Server thread/CRITICAL]: #23 src/pocketmine/PocketMine(304): pocketmine\server()

reda218 commented 3 years ago

Download the patch of the FactionMain