menu
#3072059 Call to a member function getFolderName() on null

Submitted by PocketMine-MP 3.9.6

General information

Version: 3.9.6
Git commit: d1b70bd4
Plugin involvement: Direct
Report date: 2019-11-06 21:53:29 +0000 UTC

System Information

PHP version: 7.3.11
Operating system: linux
System banner: Linux ih1704269.vds.myihor.ru 4.15.0-38-generic #41-Ubuntu SMP Wed Oct 10 10:59:38 UTC 2018 x86_64

Error information

Warning: the SkyWars plugin was directly involved in this crash. Please contact the plugin author.
Message: Call to a member function getFolderName() on null
File: plugins/SkyWars (1).phar/src/vixikhd/skywars/arena/ArenaScheduler
Line: #167
Error level: Error
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177

switch ($this->plugin->phase) {
case Arena::PHASE_LOBBY:
if(count($this->plugin->players) >= $this->plugin->data["slots"]) {
$signText[2] = "§6Full";
$signText[3] = "§8Map: §7{$this->plugin->level->getFolderName()}";
}
else {
$signText[2] = "§aJoin";
$signText[3] = "§8Map: §7{$this->plugin->level->getFolderName()}";
}
break;
case Arena::PHASE_GAME:
$signText[2] = "§5InGame";
$signText[3] = "§8Map: §7{$this->plugin->level->getFolderName()}";
break;
case Arena::PHASE_RESTART:
$signText[2] = "§cRestarting...";
$signText[3] = "§8Map: §7{$this->plugin->level->getFolderName()}";
break;
#0 plugins/SkyWars (1).phar/src/vixikhd/skywars/arena/ArenaScheduler(65): vixikhd\skywars\arena\ArenaScheduler->reloadSign()
#1 src/pocketmine/scheduler/TaskHandler(159): vixikhd\skywars\arena\ArenaScheduler->onRun(integer 32145)
#2 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 32145)
#3 src/pocketmine/plugin/PluginManager(681): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 32145)
#4 src/pocketmine/Server(2576): pocketmine\plugin\PluginManager->tickSchedulers(integer 32145)
#5 src/pocketmine/Server(2352): pocketmine\Server->tick()
#6 src/pocketmine/Server(2212): pocketmine\Server->tickProcessor()
#7 src/pocketmine/Server(1790): pocketmine\Server->start()
#8 src/pocketmine/PocketMine(275): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[14] /root/skywars/, string[22] /root/skywars/plugins/)
#9 src/pocketmine/PocketMine(299): pocketmine\server()
#10 (1): require(string[69] phar:///root/skywars/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show