menu
#9718988 Class "HCF\airdrop\task\VanillaItems" not found

Submitted by PocketMine-MP 5.8.2

General information

Version: 5.8.2
Git commit: c3c81b09
Plugin involvement: Direct
Report date: 2023-12-03 06:18:19 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 46 seconds

System Information

PHP version: 8.1.26
JIT status: Not available
Operating system: linux
System banner: Linux 49ec092b-7a95-41ff-81d8-3dc85617f43c 5.15.0-46-generic #49-Ubuntu SMP Thu Aug 4 18:03:25 UTC 2022 x86_64

Error information

Warning: the HCF plugin was directly involved in this crash. Please contact the plugin author.
Thread: Main
Message: Class "HCF\airdrop\task\VanillaItems" not found
File: plugins/HCF/src/HCF/airdrop/task/AirdropTaskk
Line: #40
Type: Error
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50

public function onRun(): void
{

$block = $this->world->getBlockAt($this->position->getFloorX(), $this->position->getFloorY() - 1, $this->position->getFloorZ());
if($block->isSolid()){
$newFace = 1;

$this->world->setBlock($this->position, VanillaBlocks::AIR());
$chest = VanillaItems::CHEST();
$this->world->setBlock($this->position->getSide($newFace), $chest);

$chestb = $this->world->getBlock($this->position->getSide($newFace));

if ($chestb instanceof Chest) {
$chestb->setName("§l§gAirDrop§r§8 Contents:");
} else {
$chestb = new Chest($this->world, $this->position->getSide($newFace));
$chestb->setName("§l§gAirDrop§r§8 Contents:");
$this->position->getWorld()->addTile($chestb);
#0 pmsrc/src/scheduler/TaskHandler(113): HCF\airdrop\task\AirdropTaskk->onRun()
#1 pmsrc/src/scheduler/TaskScheduler(137): pocketmine\scheduler\TaskHandler->run()
#2 pmsrc/src/plugin/PluginManager(533): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(int 845)
#3 pmsrc/src/Server(1791): pocketmine\plugin\PluginManager->tickSchedulers(int 845)
#4 pmsrc/src/Server(1680): pocketmine\Server->tick()
#5 pmsrc/src/Server(1065): pocketmine\Server->tickProcessor()
#6 pmsrc/src/PocketMine(341): pocketmine\Server->__construct(object pocketmine\thread\ThreadSafeClassLoader#6, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/)
#7 pmsrc/src/PocketMine(364): pocketmine\server()
#8 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed Composer Dependencies

Installed PHP Extensions

  • Show