1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2025-06-19 07:21:26 +02:00

Only try to back up the mod files if they exist...

This commit is contained in:
GJ 2012-05-27 10:23:13 -04:00
parent 6eb0159ea1
commit 3699d26e5d

@ -48,12 +48,15 @@ public class ZipLibrary {
//Create the Source List, and add directories/etc to the file.
List<File> sources = new ArrayList<File>();
sources.add(FlatFileDirectory);
sources.add(ModFileDirectory);
sources.add(UsersFile);
sources.add(ConfigFile);
sources.add(TreasuresFile);
sources.add(Leaderboards);
if (ModFileDirectory.exists()) {
sources.add(ModFileDirectory);
}
//Actually do something
System.out.println("Backing up your mcMMO Configuration... ");