menu
#9718583 Class "HCF\kit\Position" 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 04:42:40 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 30 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\kit\Position" not found
File: plugins/HCF/src/HCF/kit/KitListener
Line: #77
Type: Error
68
69
70
71
72
73
74
75
76
77
78
79
80
81
    }

public function handlePlaceBlock(BlockPlaceEvent $event): void {
$player = $event->getPlayer();
$block = $event->getBlockAgainst();
$pos = $block->getPosition();
$world = Main::getMain()->getServer()->getWorldManager()->getWorldByName("world");

Main::getMain()->getScheduler()->scheduleDelayedTask(new ClosureTask(function () use ($world, $pos): void {
Main::getMain()->getScheduler()->scheduleRepeatingTask(new AirdropTaskk($world, new Position($pos->getX(), $pos->getY() + 13, $pos->getZ()), 1));
}), 40);

}
}
#0 pmsrc/src/scheduler/ClosureTask(57): HCF\kit\KitListener->HCF\kit\{closure}()
#1 pmsrc/src/scheduler/TaskHandler(113): pocketmine\scheduler\ClosureTask->onRun()
#2 pmsrc/src/scheduler/TaskScheduler(137): pocketmine\scheduler\TaskHandler->run()
#3 pmsrc/src/plugin/PluginManager(533): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(int 535)
#4 pmsrc/src/Server(1791): pocketmine\plugin\PluginManager->tickSchedulers(int 535)
#5 pmsrc/src/Server(1680): pocketmine\Server->tick()
#6 pmsrc/src/Server(1065): pocketmine\Server->tickProcessor()
#7 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/)
#8 pmsrc/src/PocketMine(364): pocketmine\server()
#9 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