CortexPE / TeaSpoon

☕ A PLUGIN to Extend PMMP's Functionality without completely changing it.
GNU Affero General Public License v3.0
144 stars 100 forks source link

FIX THIS ERROR ASAP THX #408

Open jhampt opened 5 years ago

jhampt commented 5 years ago

03.06 04:50:40 [Server] Startup Done (0.434s)! For help, type "help" or "?" 03.06 04:51:01 [Server] Server thread/CRITICAL Error: "Call to a member function getName() on null" (EXCEPTION) in "plugins/TeaSpoon/src/CortexPE/Utils" at line 160 03.06 04:51:01 [Server] Server thread/DEBUG #0 plugins/TeaSpoon/src/CortexPE/handlers/PacketHandler(150): CortexPE\Utils::getDimension(pocketmine\level\Level object) 03.06 04:51:01 [Server] Server thread/DEBUG #1 src/pocketmine/plugin/MethodEventExecutor(38): CortexPE\handlers\PacketHandler->onPacketSend(pocketmine\event\server\DataPacketSendEvent object) 03.06 04:51:01 [Server] Server thread/DEBUG #2 src/pocketmine/plugin/RegisteredListener(98): pocketmine\plugin\MethodEventExecutor->execute(CortexPE\handlers\PacketHandler object, pocketmine\event\server\DataPacketSendEvent object) 03.06 04:51:01 [Server] Server thread/DEBUG #3 src/pocketmine/event/Event(99): pocketmine\plugin\RegisteredListener->callEvent(pocketmine\event\server\DataPacketSendEvent object) 03.06 04:51:01 [Server] Server thread/DEBUG #4 src/pocketmine/Player(3175): pocketmine\event\Event->call() 03.06 04:51:01 [Server] Server thread/DEBUG #5 src/pocketmine/Player(3200): pocketmine\Player->sendDataPacket(pocketmine\network\mcpe\protocol\StartGamePacket object, boolean , boolean ) 03.06 04:51:01 [Server] Server thread/DEBUG #6 src/pocketmine/Player(2158): pocketmine\Player->dataPacket(pocketmine\network\mcpe\protocol\StartGamePacket object) 03.06 04:51:01 [Server] Server thread/DEBUG #7 src/pocketmine/Player(2100): pocketmine\Player->completeLoginSequence() 03.06 04:51:01 [Server] Server thread/DEBUG #8 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(125): pocketmine\Player->handleResourcePackClientResponse(pocketmine\network\mcpe\protocol\ResourcePackClientResponsePacket object) 03.06 04:51:01 [Server] Server thread/DEBUG #9 src/pocketmine/network/mcpe/protocol/ResourcePackClientResponsePacket(62): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleResourcePackClientResponse(pocketmine\network\mcpe\protocol\ResourcePackClientResponsePacket object) 03.06 04:51:01 [Server] Server thread/DEBUG #10 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\network\mcpe\protocol\ResourcePackClientResponsePacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object) 03.06 04:51:01 [Server] Server thread/DEBUG #11 src/pocketmine/network/mcpe/protocol/BatchPacket(123): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\ResourcePackClientResponsePacket object) 03.06 04:51:01 [Server] Server thread/DEBUG #12 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object) 03.06 04:51:01 [Server] Server thread/DEBUG #13 src/pocketmine/Player(3124): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object) 03.06 04:51:01 [Server] Server thread/DEBUG #14 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object) 03.06 04:51:01 [Server] Server thread/DEBUG #15 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 173.187.156.70 54967, raklib\protocol\EncapsulatedPacket object, integer 0) 03.06 04:51:01 [Server] Server thread/DEBUG #16 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket() 03.06 04:51:01 [Server] Server thread/DEBUG #17 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process() 03.06 04:51:01 [Server] Server thread/DEBUG #18 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe{closure}() 03.06 04:51:01 [Server] Server thread/DEBUG #19 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications() 03.06 04:51:01 [Server] Server thread/DEBUG #20 src/pocketmine/Server(2339): pocketmine\snooze\SleeperHandler->sleepUntil(double 1559537461.9166) 03.06 04:51:01 [Server] Server thread/DEBUG #21 src/pocketmine/Server(2196): pocketmine\Server->tickProcessor() 03.06 04:51:01 [Server] Server thread/DEBUG #22 src/pocketmine/Server(1775): pocketmine\Server->start() 03.06 04:51:01 [Server] Server thread/DEBUG #23 src/pocketmine/PocketMine(266): pocketmine\Server->construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /, string /plugins/) 03.06 04:51:01 [Server] Server thread/DEBUG #24 (1): require(string phar:///custom-php7.2.phar/src/pocketmine/PocketMine.php) 03.06 04:51:01 [Server] Server thread/INFO jhampt9804[/173.187.156.70:54967] logged out due to Internal server error 03.06 04:51:01 [Server] RakLibServer thread/NOTICE Blocked 173.187.156.70 for 5 seconds 03.06 04:51:28 [Server] Server thread/CRITICAL Error: "Call to a member function getName() on null" (EXCEPTION) in "plugins/TeaSpoon/src/CortexPE/Utils" at line 160 03.06 04:51:28 [Server] Server thread/DEBUG #0 plugins/TeaSpoon/src/CortexPE/handlers/PacketHandler(150): CortexPE\Utils::getDimension(pocketmine\level\Level object) 03.06 04:51:28 [Server] Server thread/DEBUG #1 src/pocketmine/plugin/MethodEventExecutor(38): CortexPE\handlers\PacketHandler->onPacketSend(pocketmine\event\server\DataPacketSendEvent object) 03.06 04:51:28 [Server] Server thread/DEBUG #2 src/pocketmine/plugin/RegisteredListener(98): pocketmine\plugin\MethodEventExecutor->execute(CortexPE\handlers\PacketHandler object, pocketmine\event\server\DataPacketSendEvent object) 03.06 04:51:28 [Server] Server thread/DEBUG #3 src/pocketmine/event/Event(99): pocketmine\plugin\RegisteredListener->callEvent(pocketmine\event\server\DataPacketSendEvent object) 03.06 04:51:28 [Server] Server thread/DEBUG #4 src/pocketmine/Player(3175): pocketmine\event\Event->call() 03.06 04:51:28 [Server] Server thread/DEBUG #5 src/pocketmine/Player(3200): pocketmine\Player->sendDataPacket(pocketmine\network\mcpe\protocol\StartGamePacket object, boolean , boolean ) 03.06 04:51:28 [Server] Server thread/DEBUG #6 src/pocketmine/Player(2158): pocketmine\Player->dataPacket(pocketmine\network\mcpe\protocol\StartGamePacket object) 03.06 04:51:28 [Server] Server thread/DEBUG #7 src/pocketmine/Player(2100): pocketmine\Player->completeLoginSequence() 03.06 04:51:28 [Server] Server thread/DEBUG #8 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(125): pocketmine\Player->handleResourcePackClientResponse(pocketmine\network\mcpe\protocol\ResourcePackClientResponsePacket object) 03.06 04:51:28 [Server] Server thread/DEBUG #9 src/pocketmine/network/mcpe/protocol/ResourcePackClientResponsePacket(62): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleResourcePackClientResponse(pocketmine\network\mcpe\protocol\ResourcePackClientResponsePacket object) 03.06 04:51:28 [Server] Server thread/DEBUG #10 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\network\mcpe\protocol\ResourcePackClientResponsePacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object) 03.06 04:51:28 [Server] Server thread/DEBUG #11 src/pocketmine/network/mcpe/protocol/BatchPacket(123): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\ResourcePackClientResponsePacket object) 03.06 04:51:28 [Server] Server thread/DEBUG #12 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object) 03.06 04:51:28 [Server] Server thread/DEBUG #13 src/pocketmine/Player(3124): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object) 03.06 04:51:28 [Server] Server thread/DEBUG #14 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object) 03.06 04:51:28 [Server] Server thread/DEBUG #15 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 173.187.156.70 54967, raklib\protocol\EncapsulatedPacket object, integer 0) 03.06 04:51:28 [Server] Server thread/DEBUG #16 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket() 03.06 04:51:28 [Server] Server thread/DEBUG #17 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process() 03.06 04:51:28 [Server] Server thread/DEBUG #18 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe{closure}() 03.06 04:51:28 [Server] Server thread/DEBUG #19 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications() 03.06 04:51:28 [Server] Server thread/DEBUG #20 src/pocketmine/Server(2339): pocketmine\snooze\SleeperHandler->sleepUntil(double 1559537488.3166) 03.06 04:51:28 [Server] Server thread/DEBUG #21 src/pocketmine/Server(2196): pocketmine\Server->tickProcessor() 03.06 04:51:28 [Server] Server thread/DEBUG #22 src/pocketmine/Server(1775): pocketmine\Server->start() 03.06 04:51:28 [Server] Server thread/DEBUG #23 src/pocketmine/PocketMine(266): pocketmine\Server->construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /, string /plugins/) 03.06 04:51:28 [Server] Server thread/DEBUG #24 (1): require(string phar:///custom-php7.2.phar/src/pocketmine/PocketMine.php) 03.06 04:51:28 [Server] Server thread/INFO jhampt9804[/173.187.156.70:54967] logged out due to Internal server error 03.06 04:51:28 [Server] RakLibServer thread/NOTICE Blocked 173.187.156.70 for 5 seconds

CortexPE commented 5 years ago

does the dimension levels exist?