menu
#2822108 Call to a member function setNameTagVisible() on string

Submitted by PocketMine-MP 3.9.4

General information

Version: 3.9.4
Git commit: 1be6783c
Plugin involvement: Direct
Report date: 2019-09-10 18:19:29 +0000 UTC

System Information

PHP version: 7.2.16
Operating system: win
System banner: Windows NT WARTUNG 10.0 build 14393 (Windows 10) AMD64

Error information

Warning: the Murder plugin was directly involved in this crash. Please contact the plugin author.
Message: Call to a member function setNameTagVisible() on string
File: plugins/MurderMystery_dev-6.phar/src/murder/murder/murder
Line: #1448
Error level: Error
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
											$pl->teleport($this->plugin->getServer()->getDefaultLevel()->getSafeSpawn(),0,0);
$playerlang = new Config($this->plugin->getDataFolder() . "/languages.yml", Config::YAML);
$lang = new Config($this->plugin->getDataFolder() . "/lang.yml", Config::YAML);
$toUse = $lang->get($playerlang->get($pl->getName()));
$pl->sendMessage($this->prefix . $toUse["nowinner"].$arena);
$pl->getInventory()->clearAll();
$pl->removeAllEffects();
$pl->setFood(20);
$pl->setHealth(20);
$player->setNameTagVisible(true);
$pl->setNameTag($pl->getName());
$this->getResetmap()->reload($levelArena);
}
$time = 780;
}
}
$config->set($arena . "PlayTime", $time);
}
}
else
#0 src/pocketmine/scheduler/TaskHandler(159): murder\murder\GameSender->onRun(integer 482103)
#1 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 482103)
#2 src/pocketmine/plugin/PluginManager(681): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 482103)
#3 src/pocketmine/Server(2569): pocketmine\plugin\PluginManager->tickSchedulers(integer 482103)
#4 src/pocketmine/Server(2345): pocketmine\Server->tick()
#5 src/pocketmine/Server(2205): pocketmine\Server->tickProcessor()
#6 src/pocketmine/Server(1784): pocketmine\Server->start()
#7 src/pocketmine/PocketMine(275): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[21] C:\PMMPMoerderMystry\, string[29] C:\PMMPMoerderMystry\plugins\)
#8 src/pocketmine/PocketMine(299): pocketmine\server()
#9 (1): require(string[76] phar://C:/PMMPMoerderMystry/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show