menu
#4774482 Call to a member function setAutoSave() on null

Submitted by PocketMine-MP 3.17.3

General information

Version: 3.17.3
Git commit: b296ae1b
Plugin involvement: Direct
Report date: 2021-02-22 21:00:03 +0000 UTC
Server uptime: 0 days 0 hours 1 minutes 32 seconds

System Information

PHP version: 7.4.14
Operating system: linux
System banner: Linux 1a066c8a-9309-4769-ad0a-bfc6fb3d0f9d 4.15.0-134-generic #138-Ubuntu SMP Fri Jan 15 10:52:18 UTC 2021 x86_64

Error information

Warning: the SkyWarsForPE plugin was directly involved in this crash. Please contact the plugin author.
Message: Call to a member function setAutoSave() on null
File: plugins/SkyWarsForPE_dev-9.phar/src/larryTheCoder/arena/api/Arena
Line: #322
Error level: Error
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332

$level = $this->lobbyLevel = Server::getInstance()->getLevelByName($this->lobbyName);
$this->lobbyLevel->setAutoSave(false);

$isLobby = true;
}else{
Server::getInstance()->loadLevel($this->getLevelName());

$level = $this->level = Server::getInstance()->getLevelByName($this->getLevelName());
$this->level->setAutoSave(false);

$isLobby = false;
}

$level->setTime(Level::TIME_DAY);
$level->stopTime();

$this->setFlags(self::ARENA_OFFLINE_MODE, false);
$this->setFlags(self::WORLD_ATTEMPT_LOAD, false);

#0 plugins/SkyWarsForPE_dev-9.phar/src/larryTheCoder/arena/api/task/CompressionAsyncTask(118): larryTheCoder\arena\api\Arena->larryTheCoder\arena\api\{closure}()
#1 pmsrc/src/pocketmine/scheduler/AsyncPool(319): larryTheCoder\arena\api\task\CompressionAsyncTask->onCompletion(object pocketmine\Server)
#2 plugins/SkyWarsForPE_dev-9.phar/src/larryTheCoder/worker/LevelAsyncPool(60): pocketmine\scheduler\AsyncPool->collectTasks()
#3 pmsrc/src/pocketmine/scheduler/ClosureTask(61): larryTheCoder\worker\LevelAsyncPool->larryTheCoder\worker\{closure}(integer 1822)
#4 pmsrc/src/pocketmine/scheduler/TaskHandler(137): pocketmine\scheduler\ClosureTask->onRun(integer 1822)
#5 pmsrc/src/pocketmine/scheduler/TaskScheduler(179): pocketmine\scheduler\TaskHandler->run(integer 1822)
#6 pmsrc/src/pocketmine/plugin/PluginManager(654): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 1822)
#7 pmsrc/src/pocketmine/Server(2390): pocketmine\plugin\PluginManager->tickSchedulers(integer 1822)
#8 pmsrc/src/pocketmine/Server(2153): pocketmine\Server->tick()
#9 pmsrc/src/pocketmine/Server(1993): pocketmine\Server->tickProcessor()
#10 pmsrc/src/pocketmine/Server(1587): pocketmine\Server->start()
#11 pmsrc/src/pocketmine/PocketMine(286): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
#12 pmsrc/src/pocketmine/PocketMine(316): pocketmine\server()
#13 pmsrc(11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show