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

Submitted by PocketMine-MP 3.18.1

General information

Version: 3.18.1
Git commit: fd4ac885
Plugin involvement: Direct
Report date: 2021-04-08 06:14:06 +0000 UTC
Server uptime: 0 days 0 hours 2 minutes 23 seconds

System Information

PHP version: 7.4.15
Operating system: linux
System banner: Linux 38bb2f91-b977-463c-9408-0598fc307bfa 4.15.0-135-generic #139-Ubuntu SMP Mon Jan 18 17:38:24 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-105.phar/src/larryTheCoder/panel/FormManager
Line: #658
Error level: Error
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668

$task = new CompressionAsyncTask([
$this->plugin->getDataFolder() . 'arenas/worlds/' . $arena->getLevelName() . ".zip",
Server::getInstance()->getDataPath() . "worlds/" . $arena->getLevelName(),
false,
], function() use ($arena, $onComplete){
Server::getInstance()->loadLevel($arena->getLevelName());

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

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

$arena->setFlags(ArenaImpl::ARENA_IN_SETUP_MODE, true);

$onComplete($level);
});

Server::getInstance()->getAsyncPool()->submitTask($task);
#0 plugins/SkyWarsForPE_dev-105.phar/src/larryTheCoder/arena/api/task/CompressionAsyncTask(118): larryTheCoder\panel\FormManager->larryTheCoder\panel\{closure}()
#1 pmsrc/src/pocketmine/scheduler/AsyncPool(319): larryTheCoder\arena\api\task\CompressionAsyncTask->onCompletion(object pocketmine\Server)
#2 pmsrc/src/pocketmine/Server(2393): pocketmine\scheduler\AsyncPool->collectTasks()
#3 pmsrc/src/pocketmine/Server(2152): pocketmine\Server->tick()
#4 pmsrc/src/pocketmine/Server(1992): pocketmine\Server->tickProcessor()
#5 pmsrc/src/pocketmine/Server(1586): pocketmine\Server->start()
#6 pmsrc/src/pocketmine/PocketMine(291): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
#7 pmsrc/src/pocketmine/PocketMine(321): pocketmine\server()
#8 pmsrc(11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show