menu
#10625699 Call to a member function getSubChunks() on null

Submitted by PocketMine-MP 5.13.0

General information

Version: 5.13.0
Git commit: f193a990
Plugin involvement: Direct
Report date: 2024-04-03 05:54:09 +0000 UTC
Server uptime: 0 days 0 hours 4 minutes 24 seconds

System Information

PHP version: 8.2.13
JIT status: Not available
Operating system: linux
System banner: Linux 2caed37f-2082-400a-8ede-1b21c4e72237 5.15.0-94-generic #104-Ubuntu SMP Tue Jan 9 15:25:40 UTC 2024 x86_64

Error information

Warning: the HCF plugin was directly involved in this crash. Please contact the plugin author.
Thread: Main
Message: Call to a member function getSubChunks() on null
File: plugins/Hardcore Factions/src/HCF/region/ClaimChunkCache
Line: #126
Type: Error
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
                $this->attemptToContinueSaving();
return;
}

[$x, $z] = $current;

$originalChunk = $world->loadChunk($x, $z);
$offsetX = $x << 4;
$offsetZ = $z << 4;
$subChunks = $originalChunk->getSubChunks();
foreach ($subChunks as $y => $subChunk) {
if ($subChunk->isEmptyAuthoritative()) {
continue;
}
$minimalY = $y << 4;

for ($amogusX = 0; $amogusX < 16; $amogusX++) {
for ($amogusZ = 0; $amogusZ < 16; $amogusZ++) {
for ($amogusY = 15; $amogusY >= 0; $amogusY--) {
$stateId = $subChunk->getBlockStateId($amogusX, $amogusY, $amogusZ);
#0 pmsrc/src/scheduler/ClosureTask(57): HCF\region\ClaimChunkCache->HCF\region\{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 5261)
#4 pmsrc/src/Server(1804): pocketmine\plugin\PluginManager->tickSchedulers(int 5261)
#5 pmsrc/src/Server(1693): pocketmine\Server->tick()
#6 pmsrc/src/Server(1066): pocketmine\Server->tickProcessor()
#7 pmsrc/src/PocketMine(350): 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(373): 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