mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-23 05:36:46 +01:00
Only try to back up the mod files if they exist...
This commit is contained in:
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... ");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user