menu
#2581856 Undefined property: tungsten_simonsay\Task\GameTask::$main

Submitted by PocketMine-MP 3.8.2

General information

Version: 3.8.2
Git commit: 5c81da9b
Plugin involvement: Direct
Report date: 2019-07-12 03:51:02 +0000 UTC

System Information

PHP version: 7.2.2
Operating system: win
System banner: Windows NT UHUVV16TSDJ7IAR 6.1 build 7601 (Windows 7 Ultimate Edition Service Pack 1) AMD64

Error information

Warning: the SimonSay plugin was directly involved in this crash. Please contact the plugin author.
Message: Undefined property: tungsten_simonsay\Task\GameTask::$main
File: plugins/#SimonSay.9.jul.19/src/tungsten_simonsay/Task/GameTask
Line: #820
Error level: ErrorException
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
		if(isset($this->owner->getConfig()->getAll()["topscore"][$top1->getName()])){
$n = $top1->getName();
$this->owner->getConfig()->setNested("topscore.$n",$this->owner->getConfig()->getAll()["topscore"][$top1->getName()] +1);
$this->main->getConfig()->setAll($this->main->getConfig()->getAll());
$this->main->getConfig()->save();
print("ADDDDDDDDDDSƯDÀẾdgdgdsxgdfDDDDĐ");
}else{
$n = $top1->getName();
$this->owner->getConfig()->setNested("topscore.$n", 1);
$this->main->getConfig()->setAll($this->main->getConfig()->getAll());
$this->main->getConfig()->save();
print("ADDDDDDDDDDDDDDĐ");
}
}
foreach($this->top2 as $top2){
foreach($this->owner->getConfig()->get("top2_commands") as $cm) {
$this->owner->getServer()->dispatchCommand(new ConsoleCommandSender(),str_replace(["{winner}", "{game}"], [$top2->getName(), $this->name], $cm));
}
}
foreach($this->top3 as $top3){
#0 plugins/#SimonSay.9.jul.19/src/tungsten_simonsay/Task/GameTask(820): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string Undefined property: tungsten_simonsay\Task\GameTask::$main, string C:\Users\Administrator\Desktop\MCPE\plugins\#SimonSay.9.jul.19\src\tungsten_simonsay\Task\GameTask.php, integer 820, array Array())
#1 plugins/#SimonSay.9.jul.19/src/tungsten_simonsay/Task/GameTask(502): tungsten_simonsay\Task\GameTask->onGivePrize()
#2 plugins/#SimonSay.9.jul.19/src/tungsten_simonsay/Task/GameTask(671): tungsten_simonsay\Task\GameTask->createGame()
#3 src/pocketmine/scheduler/TaskHandler(159): tungsten_simonsay\Task\GameTask->onRun(integer 1701)
#4 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 1701)
#5 src/pocketmine/plugin/PluginManager(688): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 1701)
#6 src/pocketmine/Server(2558): pocketmine\plugin\PluginManager->tickSchedulers(integer 1701)
#7 src/pocketmine/Server(2334): pocketmine\Server->tick()
#8 src/pocketmine/Server(2195): pocketmine\Server->tickProcessor()
#9 src/pocketmine/Server(1774): pocketmine\Server->start()
#10 src/pocketmine/PocketMine(266): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string C:\Users\Administrator\Desktop\MCPE\, string C:\Users\Administrator\Desktop\MCPE\plugins\)
#11 (1): require(string phar://C:/Users/Administrator/Desktop/MCPE/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show