public void amendTopics(ConfigurationSection config){
  ConfigurationSection amendedTopics=config.getConfigurationSection("amended-topics");
  if (amendedTopics != null) {
    for (    String key : amendedTopics.getKeys(false)) {
      HelpTopic target=getHelpTopic(key);
      if (target == null) {
        continue;
      }
      ConfigurationSection amend=amendedTopics.getConfigurationSection(key);
      if (amend == null) {
        continue;
      }
      target.amendTopic(color(amend.getString("shortText")),color(amend.getString("fullText")));
      String perm=amend.getString("permission",null);
      if (perm != null) {
        target.amendCanSee(perm.isEmpty() ? null : perm);
      }
    }
  }
}

public void amendTopics ( ConfigurationSection config ) { ConfigurationSection amendedTopics = config . getConfigurationSection ( "amended-topics" ) ; if ( amendedTopics != null ) { for ( String key : amendedTopics . getKeys ( false ) ) { HelpTopic target = getHelpTopic ( key ) ; if ( target == null ) { continue ; } ConfigurationSection amend = amendedTopics . getConfigurationSection ( key ) ; if ( amend == null ) { continue ; } target . amendTopic ( color ( amend . getString ( "shortText" ) ) , color ( amend . getString ( "fullText" ) ) ) ; String perm = amend . getString ( "permission" , null ) ; if ( perm != null ) { target . amendCanSee ( perm . isEmpty ( ) ? null : perm ) ; } } } }
process topic amendments from help . yml .
