1. Guest, as per the stickied thread, this forum has not been in use since 2014. All bugs and feature requests should be posted to JIRA.

Bug YAML: getStringList changes 'yes' to 'true'

Discussion in 'Bugs & Feature Requests' started by kangarko, Jul 9, 2015.

  1. Just noticed strange behaviour of YamlConfiguration, where getStringList (and getList method, too) returns a list where 'yes' is changed to 'true'.

    Example yaml:
    Code (Text):
      Whitelist:
      - yes
      - hello
    Example java:
    Code (Text):
    <yamlConfigurationInstance>.getList("Whitelist") // and print out the values to see the result
     
  2. Can anyone confirm this behaviour?
     
  3. As this issue still persists, can you @Thinkofdeath please look at it?