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

Submitted by PocketMine-MP 3.8.1

General information

Version: 3.8.1
Git commit: 7521160f
Plugin involvement: Direct
Report date: 2019-05-15 18:31:50 +0000 UTC

System Information

PHP version: 7.2.13
Operating system: win
System banner: Windows NT WIN-S452DS18V0T 10.0 build 14393 (Windows Server 2016) AMD64

Error information

Warning: the TimeCommander plugin was directly involved in this crash. Please contact the plugin author.
Message: Class 'pocketmine\scheduler\PluginTask' not found
File: plugins/TimeCommander/src/LDX/TimeCommander/TimeCommand
Line: #5
Error level: E_ERROR
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php
namespace LDX\TimeCommander;
use pocketmine\scheduler\PluginTask;
use pocketmine\Server;
class TimeCommand extends PluginTask {
public function __construct($plugin,$cmd) {
$this->plugin = $plugin;
$this->cmd = $cmd;
$this->start = false;
parent::__construct($plugin);
}
public function onRun($ticks) {
if($this->start) {
$this->plugin->runCommand($this->cmd);
} else {

Loaded Plugins

  • Show

Server Settings

  • Show