fuyutsuki / Texter

Texter is a plugin for PocketMine-MP that supports multiple worlds and allows you to add, edit, move, and delete FloatingText.
https://poggit.pmmp.io/p/Texter
University of Illinois/NCSA Open Source License
62 stars 39 forks source link

Bug Texter #91

Closed MrJhon2 closed 4 years ago

MrJhon2 commented 4 years ago
10.07 23:39:07 [Server] Server thread/CRITICAL TypeError: "Argument 2 passed to tokyo\pmmp\Texter\task\SendTextsTask::__construct() must be an instance of pocketmine\level\Level, null given, called in phar:///plugins/Texter.phar/src/tokyo/pmmp/Texter/EventListener.php on line 46" (EXCEPTION) in "plugins/Texter.phar/src/tokyo/pmmp/Texter/task/SendTextsTask" at line 59
10.07 23:39:07 [Server] Server thread/DEBUG #0 plugins/Texter.phar/src/tokyo/pmmp/Texter/EventListener(46): tokyo\pmmp\Texter\task\SendTextsTask->__construct(object pocketmine\Player, NULL )
10.07 23:39:07 [Server] Server thread/DEBUG #1 src/pocketmine/plugin/MethodEventExecutor(42): tokyo\pmmp\Texter\EventListener->onJoin(object pocketmine\event\player\PlayerJoinEvent)
10.07 23:39:07 [Server] Server thread/DEBUG #2 src/pocketmine/plugin/RegisteredListener(80): pocketmine\plugin\MethodEventExecutor->execute(object tokyo\pmmp\Texter\EventListener, object pocketmine\event\player\PlayerJoinEvent)
10.07 23:39:07 [Server] Server thread/DEBUG #3 src/pocketmine/event/Event(88): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\player\PlayerJoinEvent)
10.07 23:39:07 [Server] Server thread/DEBUG #4 src/pocketmine/Player(1085): pocketmine\event\Event->call()
10.07 23:39:07 [Server] Server thread/DEBUG #5 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(315): pocketmine\Player->doFirstSpawn()
10.07 23:39:07 [Server] Server thread/DEBUG #6 src/pocketmine/network/mcpe/protocol/SetLocalPlayerAsInitializedPacket(45): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleSetLocalPlayerAsInitialized(object pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket)
10.07 23:39:07 [Server] Server thread/DEBUG #7 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
10.07 23:39:07 [Server] Server thread/DEBUG #8 src/pocketmine/network/mcpe/protocol/BatchPacket(127): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket)
10.07 23:39:07 [Server] Server thread/DEBUG #9 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
10.07 23:39:07 [Server] Server thread/DEBUG #10 src/pocketmine/Player(3247): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
10.07 23:39:07 [Server] Server thread/DEBUG #11 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
10.07 23:39:07 [Server] Server thread/DEBUG #12 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[18] 201.17.76.209 4477, object raklib\protocol\EncapsulatedPacket, integer 0)
10.07 23:39:07 [Server] Server thread/DEBUG #13 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
10.07 23:39:07 [Server] Server thread/DEBUG #14 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
10.07 23:39:07 [Server] Server thread/DEBUG #15 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
10.07 23:39:07 [Server] Server thread/DEBUG #16 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
10.07 23:39:07 [Server] Server thread/DEBUG #17 src/pocketmine/Server(2157): pocketmine\snooze\SleeperHandler->sleepUntil(double 1594424336.2156)
10.07 23:39:07 [Server] Server thread/DEBUG #18 src/pocketmine/Server(1994): pocketmine\Server->tickProcessor()
10.07 23:39:07 [Server] Server thread/DEBUG #19 src/pocketmine/Server(1588): pocketmine\Server->start()
10.07 23:39:07 [Server] Server thread/DEBUG #20 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[44] /, string[52] /plugins/)
10.07 23:39:07 [Server] Server thread/DEBUG #21 src/pocketmine/PocketMine(304): pocketmine\server()
10.07 23:39:07 [Server] Server thread/DEBUG #22 (11): require(string[77] phar:///jar/1.16.phar/src/pocketmine/PocketMine.php)

Pocketmine version: 3.14 Version: 1.16

fuyutsuki commented 4 years ago

It is an error because the world cannot be acquired when the player joins. So it's not a Texter issue. Please try removing the other plugin and see the same issue occurs.

fuyutsuki commented 4 years ago

This issue will be closed because there is no reply, but if there is any update, you can reply and reopen this issue.