Solved Cannot save FileConfiguration

Discussion in 'Spigot Plugin Help' started by MichielA, Sep 8, 2019.

  1. So i'm trying to save a configuration file but it shows red

    Code (Java):
    private void LoadDataFile()
        {
            configFile = new File(getDataFolder(),  "EbsBanList.yml");
            banList = YamlConfiguration.loadConfiguration(configFile);
            banList.save(configFile);
        }
    banlist.save shows an error even i followed to same steps as docs
    http://prntscr.com/p3d1ug