Problem/Bug getDataFolder() Problems

Discussion in 'Bukkit Help' started by MrWaffleman, Jul 28, 2015.

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

    MrWaffleman

    Code:
    cfile = new File(p.getDataFolder(), "config.yml");
    When putting in this line of code I get the error: "The constructor Seekable.File(File, String) is undefined". I've been looking at threads but I still haven't gotten to the root of this problem...
     
  2. @MrWaffleman You don't make the config like that so that isn't even needed. You do it with saveDefaultConfig()
     
  3. Offline

    MrWaffleman

    Thanks for the help! It worked, but now I found a better way of doing it :p.
     
Thread Status:
Not open for further replies.

Share This Page