jasonw4331 / SimpleReplies

A PocketMine plugins which adds a command to reply to the last person who messaged you
https://poggit.pmmp.io/p/SimpleReplies
GNU Lesser General Public License v3.0
7 stars 1 forks source link

Eror Crash #11

Closed NdaruAjaa closed 1 year ago

NdaruAjaa commented 1 year ago
PocketMine-MP version: 4.19.2 [Protocol 575]
Git commit: a534ac759ab1d13c50de8f5728ed28612a6dd019
PHP version: 8.0.27
OS: Linux, linux

THIS CRASH WAS CAUSED BY A PLUGIN
BAD PLUGIN: SimpleReplies

Error: Call to a member function getName() on null
File: plugins/SimpleReplies_dev-32.phar/src/commands/TellCommand
Line: 49
Type: Error
Backtrace:
#0 pmsrc/src/command/SimpleCommandMap(205): jasonwynn10\SimpleReplies\commands\TellCommand->execute(object pocketmine\player\Player#1216357, string[1] w, array[4])
#1 pmsrc/src/Server(1422): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\player\Player#1216357, string[27] w blu buat base bareng yu??)
#2 pmsrc/src/player/Player(1508): pocketmine\Server->dispatchCommand(object pocketmine\player\Player#1216357, string[27] w blu buat base bareng yu??)
#3 pmsrc/src/network/mcpe/handler/InGamePacketHandler(805): pocketmine\player\Player->chat(string[28] /w blu buat base bareng yu??)
#4 pmsrc/vendor/pocketmine/bedrock-protocol/src/CommandRequestPacket(55): pocketmine\network\mcpe\handler\InGamePacketHandler->handleCommandRequest(object pocketmine\network\mcpe\protocol\CommandRequestPacket#1193716)
#5 pmsrc/src/network/mcpe/NetworkSession(433): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(object pocketmine\network\mcpe\handler\InGamePacketHandler#1178384)
#6 pmsrc/src/network/mcpe/NetworkSession(377): pocketmine\network\mcpe\NetworkSession->handleDataPacket(object pocketmine\network\mcpe\protocol\CommandRequestPacket#1193716, string[50] M./w blu buat base bareng yu??..@........ai{.....@)
#7 pmsrc/src/network/mcpe/raklib/RakLibInterface(197): pocketmine\network\mcpe\NetworkSession->handleEncoded(string[105] 3.../WH.)UH*M,QHJ,N..E.y.........;...).}.qbf............<..(.9$.P.\d;.I).....@..)
#8 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(42): pocketmine\network\mcpe\raklib\RakLibInterface->onPacketReceive(int 3, string[114] ..)5>....g......y.....n...%?%db-...?eo.7(.6..T.G..%.s...#oS...P..a"I.;.U.?.N.../)
#9 pmsrc/src/network/mcpe/raklib/RakLibInterface(121): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#1155013)
#10 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\raklib\RakLibInterface->pocketmine\network\mcpe\raklib\{closure}()
#11 pmsrc/src/TimeTrackingSleeperHandler(58): pocketmine\snooze\SleeperHandler->processNotifications()
#12 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\TimeTrackingSleeperHandler->processNotifications()
#13 pmsrc/src/Server(1681): pocketmine\snooze\SleeperHandler->sleepUntil(float 1681629637.9351)
#14 pmsrc/src/Server(1061): pocketmine\Server->tickProcessor()
#15 pmsrc/src/PocketMine(339): pocketmine\Server->__construct(object BaseClassLoader#5, object pocketmine\utils\MainLogger#2, string[16] /home/container/, string[24] /home/container/plugins/)
#16 pmsrc/src/PocketMine(362): pocketmine\server()
#17 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)
jasonw4331 commented 1 year ago

Fixed in e7e8a6fa18aed97479215363403cd5fbef3ed430