Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-5614

getStringList default value

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • 1.15.2
    • Yes

      An improvement to the default fileconfiguration's .getStringList, .getIntegerList, .getDoubleList, .getLongList etc.

      It would be useful if there was a .get<Type>List(String path, List<type> default) similar to how .get<Type>(path, default) works. Whereby if the path doesn't exist, it returns the default value.

            Unassigned Unassigned
            Loggarific Loggits
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: