You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is duplicate.. i have mentioned this error week ago. Dont worry I have solution for you.. Forget about this plugin you will not get support here. Install Festival plugin instead you get simillar functions.
i did ask for more information about the issue in #5
and i consumed that the error happened because the world had not loaded before you entered the portal, or the world got corrupted
can you check if i was right ^^^
and sorry that i cant help u guys, i'll come back to minecraft in july next year, <3
AngelliaX
changed the title
Server Crashes When Selecting 2nd Position.
Server Crashes When Selecting 2nd Position. (Duplicated issue of #5)
Oct 10, 2020
Hi there,
Just came here to make an issue about the plugin crashing the server when I select the 2nd position.
Here's some info:
PocketMine-MP Crash Dump Sat Oct 10 12:34:30 UTC 2020
Error: Call to a member function getPlayers() on null
File: plugins/FootJob.phar/src/Tungsten/FootJob/RepeatingTask
Line: 32
Type: Error
Code:
[23] }
[24]
[25]
[26] public function onRun($tick)
[27] {
[28] $internalConfig = $this->config->getAll();
[29] if (!is_array($internalConfig) or count($internalConfig) <= 0) return;
[30] foreach ($internalConfig as $value) {
[31] if(!is_array($value)) continue;
[32] $players = $this->fj->getServer()->getLevelByName($value["level"])->getPlayers(); (Error Is Here)
[33] if ($players == []) continue;
[34] $x1 = $value["x"][0][0];
[35] $x2 = $value["x"][0][1];
[36] $y1 = $value["y"][0][0];
[37] $y2 = $value["y"][0][1];
[38] $z1 = $value["z"][0][0];
[39] $z2 = $value["z"][0][1];
[40] foreach ($players as $player) {
[41] if ($this->isInside($x1, $x2, $y1, $y2, $z1, $z2, $player)) {
[42] if (isset($value["consolecmds"])) {
Backtrace:
#0 src/pocketmine/scheduler/TaskHandler(137): Tungsten\FootJob\RepeatingTask->onRun(integer 1)
#1 src/pocketmine/scheduler/TaskScheduler(179): pocketmine\scheduler\TaskHandler->run(integer 1)
#2 src/pocketmine/plugin/PluginManager(654): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 1)
#3 src/pocketmine/Server(2391): pocketmine\plugin\PluginManager->tickSchedulers(integer 1)
#4 src/pocketmine/Server(2154): pocketmine\Server->tick()
#5 src/pocketmine/Server(1994): pocketmine\Server->tickProcessor()
#6 src/pocketmine/Server(1588): pocketmine\Server->start()
#7 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[15] /home/gs-41203/, string[23] /home/gs-41203/plugins/)
#8 src/pocketmine/PocketMine(304): pocketmine\server()
#9 (11): require(string[95] phar:///pro/bin/mcpe/pocketmine-stable-1.16.20/PocketMine-MP.phar/src/pocketmine)
The text was updated successfully, but these errors were encountered: