noSuchMethod getStringList

Discussion in 'Plugin Development' started by MG127, Nov 17, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    MG127

    i'm getting this:
    Code:
    org.bukkit.configuration.file.FileConfiguration.getStringList(Ljava/lang/String;)Ljava/util/List;
    java.lang.NoSuchMethodError: org.bukkit.configuration.file.FileConfiguration.getStringList(Ljava/lang/String;)Ljava/util/List;
    when i want to call that:
    Code:
    FileConfiguration con=plugin.getConfig();
    soloCon=con.getStringList("singleConnections");
    i'm using this in a small method to read the whole config at once so getConfig() isn't called 100 times

    using bukkit 979 and cb1337
     
  2. Offline

    desht

    getStringList() was added in Bukkit 969, which according to ci.bukkit.org corresponds with CraftBukkit 1367.

    In other words, CB 1337 is too old. It doesn't have that method.
     
    MG127 likes this.
  3. Offline

    MG127

    and i thought the JavaDocs are allways from the last RB ... ok, thx
     
Thread Status:
Not open for further replies.

Share This Page