Closed ilovepackets closed 2 years ago
PocketMine-MP Crash Dump Mon Mar 7 00:30:50 EST 2022
Error: Call to a member function cancel() on null File: plugins/SimpleCustomTPA_dev-7.phar/src/achedon/customtpa/tasks/delay Line: 31 Type: Error
THIS CRASH WAS CAUSED BY A PLUGIN BAD PLUGIN: customTPA
Code: [22] if($this->time == 0){ [23] if(isset(tpa::$REQUEST[$this->player->getName()])){ [24] $this->player->sendMessage(messageManager::message("You request have been deleted")); [25] var_dump($this->time); [26] unset(tpa::$REQUEST[$this->player->getName()]); [27] $this->getHandler()->cancel(); [28] } [29] } [30] if(!isset(tpa::$REQUEST[$this->player->getName()])){ [31] $this->getHandler()->cancel(); [32] } [33] $this->time--; [34] } [35] }
Backtrace:
PocketMine-MP version: 4.2.2 [Protocol 486] Git commit: 12946fbe466335ccf9d94f63a65400903c924fca uname -a: Linux game-useast-03.mtxserv.com 5.4.125-mtxserv #1 SMP PREEMPT Mon Jun 14 17:57:17 CEST 2021 x86_64 PHP Version: 8.0.13 Zend version: 4.0.13 OS: Linux, linux Composer libraries:
Loaded plugins:
Good evening, sorry for the delay in replying, I just saw the bug and corrected it just now! The plugin is back to work For more info, go to my github
PocketMine-MP Crash Dump Mon Mar 7 00:30:50 EST 2022
Error: Call to a member function cancel() on null File: plugins/SimpleCustomTPA_dev-7.phar/src/achedon/customtpa/tasks/delay Line: 31 Type: Error
THIS CRASH WAS CAUSED BY A PLUGIN BAD PLUGIN: customTPA
Code: [22] if($this->time == 0){ [23] if(isset(tpa::$REQUEST[$this->player->getName()])){ [24] $this->player->sendMessage(messageManager::message("You request have been deleted")); [25] var_dump($this->time); [26] unset(tpa::$REQUEST[$this->player->getName()]); [27] $this->getHandler()->cancel(); [28] } [29] } [30] if(!isset(tpa::$REQUEST[$this->player->getName()])){ [31] $this->getHandler()->cancel(); [32] } [33] $this->time--; [34] } [35] }
Backtrace:
0 pmsrc/src/scheduler/TaskHandler(117): achedon\customtpa\tasks\delay->onRun()
1 pmsrc/src/scheduler/TaskScheduler(141): pocketmine\scheduler\TaskHandler->run()
2 pmsrc/src/plugin/PluginManager(466): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 3085)
3 pmsrc/src/Server(1768): pocketmine\plugin\PluginManager->tickSchedulers(integer 3085)
4 pmsrc/src/Server(1657): pocketmine\Server->tick()
5 pmsrc/src/Server(1046): pocketmine\Server->tickProcessor()
6 pmsrc/src/PocketMine(304): pocketmine\Server->__construct(object BaseClassLoader#3, object pocketmine\utils\MainLogger#2, string[51] /home/gameserver/servers/serveur3/minecraftbedrock/, string[59] /home/gameserver/servers/serveur3/minecraftbedrock/plugins/)
7 pmsrc/src/PocketMine(327): pocketmine\server()
8 pmsrc(11): require(string[95] phar:///home/gameserver/servers/serveur3/minecraftbedrock/PocketMine-MP.phar/src)
PocketMine-MP version: 4.2.2 [Protocol 486] Git commit: 12946fbe466335ccf9d94f63a65400903c924fca uname -a: Linux game-useast-03.mtxserv.com 5.4.125-mtxserv #1 SMP PREEMPT Mon Jun 14 17:57:17 CEST 2021 x86_64 PHP Version: 8.0.13 Zend version: 4.0.13 OS: Linux, linux Composer libraries:
Loaded plugins: