menu
#4530763 Call to a member function addSound() on null

Submitted by PocketMine-MP 3.15.0

General information

Version: 3.15.0
Git commit: a498b041
Plugin involvement: Direct
Report date: 2020-09-15 23:45:32 +0000 UTC

System Information

PHP version: 7.3.14
Operating system: linux
System banner: Linux game-uswest-01.mtxserv.com 5.4.34-mtxserv #1 SMP PREEMPT Wed Apr 22 10:15:58 CEST 2020 x86_64

Error information

Warning: the LimGam plugin was directly involved in this crash. Please contact the plugin author.
Message: Call to a member function addSound() on null
File: plugins/LimGam_v1.0.0.phar/src/LimGam/Types/SkyWars/SkyWars
Line: #113
Error level: Error
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
                    $scoreboard->setLine(3, "  ");
$scoreboard->setLine(4, TextFormat::GRAY . "Iniciando en: " . TextFormat::AQUA . $this->Countdown);
}
}
}

if($this->Countdown <= 5) {
foreach ($this->GetSessions(false) as $sessions) {
if ($sessions instanceof InGame) {
$sessions->GetPlayer()->getLevel()->addSound(new ClickSound($sessions->GetPlayer()->asVector3()));
}
}
}

parent::StatusBeginning();
}


public function StatusRunning(): void
{
#0 plugins/LimGam_v1.0.0.phar/src/LimGam/Game/Arena(546): LimGam\Types\SkyWars\SkyWars->StatusBeginning()
#1 plugins/LimGam_v1.0.0.phar/src/LimGam/Task/Game/GameUpdater(67): LimGam\Game\Arena->Update(integer 595601)
#2 src/pocketmine/scheduler/TaskHandler(137): LimGam\Task\Game\GameUpdater->onRun(integer 595601)
#3 src/pocketmine/scheduler/TaskScheduler(179): pocketmine\scheduler\TaskHandler->run(integer 595601)
#4 src/pocketmine/plugin/PluginManager(654): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 595601)
#5 src/pocketmine/Server(2391): pocketmine\plugin\PluginManager->tickSchedulers(integer 595601)
#6 src/pocketmine/Server(2154): pocketmine\Server->tick()
#7 src/pocketmine/Server(1994): pocketmine\Server->tickProcessor()
#8 src/pocketmine/Server(1588): pocketmine\Server->start()
#9 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[51] /home/gameserver/servers/serveur2/minecraftbedrock/, string[59] /home/gameserver/servers/serveur2/minecraftbedrock/plugins/)
#10 src/pocketmine/PocketMine(304): pocketmine\server()
#11 (11): require(string[106] phar:///home/gameserver/servers/serveur2/minecraftbedrock/PocketMine-MP.phar/src)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed Composer Dependencies