/**
* @param PPGroup $group
* @param $nameTag
* @param null $levelName
* @return bool
*/
public function setOriginalNametag(PPGroup $group, $nameTag, $levelName = null)
{
if ($levelName === null) {
$this->config->setNested("groups." . $group->getName() . ".nametag", $nameTag);
} else {
$this->config->setNested("groups." . $group->getName() . "worlds.{$levelName}.nametag", $nameTag);
}
$this->config->save();
$this->config->reload();
return true;
}