menu
#3550715 Class 'pocketmine\scheduler\PluginTask' not found

Submitted by PocketMine-MP 3.11.3

General information

Version: 3.11.3
Git commit: 0d5704b1
Plugin involvement: Direct
Report date: 2020-01-14 07:23:34 +0000 UTC

System Information

PHP version: 7.3.13
Operating system: win
System banner: Windows NT DESKTOP-D39Q0AJ 10.0 build 18362 (Windows 10) AMD64

Error information

Warning: a plugin was directly involved in this crash. Please contact the plugin author.
Message: Class 'pocketmine\scheduler\PluginTask' not found
File: plugins/JoinMessage_v1.0.12.phar/src/Nerahikada/JoinMessage
Line: #35
Error level: Error
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45

public function onJoin(PlayerJoinEvent $event){
$task = new SendJoinMessageTask($this, $event->getPlayer());
$this->getServer()->getScheduler()->scheduleDelayedTask($task, 1);
}

}


class SendJoinMessageTask extends PluginTask{

public function __construct(PluginBase $owner, $player){
parent::__construct($owner);
$this->player = $player;
}

public function onRun(int $currentTick){
foreach($this->getOwner()->joinMessage as $message){
$this->player->sendMessage($message);
}
#0 vendor/pocketmine/spl/BaseClassLoader(126): include()
#1 (): BaseClassLoader->loadClass(string[22] Nerahikada\JoinMessage)
#2 (): spl_autoload_call(string[22] Nerahikada\JoinMessage)
#3 src/pocketmine/plugin/PluginManager(181): class_exists(string[22] Nerahikada\JoinMessage, boolean 1)
#4 src/pocketmine/plugin/PluginManager(352): pocketmine\plugin\PluginManager->loadPlugin(string[90] C:\Users\somat\OneDrive\..................\PMMP\start.cmd\plugins\JoinMessage_v1, array[2])
#5 src/pocketmine/Server(1725): pocketmine\plugin\PluginManager->loadPlugins(string[66] C:\Users\somat\OneDrive\..................\PMMP\start.cmd\plugins\)
#6 src/pocketmine/PocketMine(268): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[58] C:\Users\somat\OneDrive\..................\PMMP\start.cmd\, string[66] C:\Users\somat\OneDrive\..................\PMMP\start.cmd\plugins\)
#7 src/pocketmine/PocketMine(291): pocketmine\server()
#8 (1): require(string[113] phar://C:/Users/somat/OneDrive/................../PMMP/start.cmd/PocketMine-MP.p)

Loaded Plugins

  • Show

Server Settings

  • Show