diff --git a/src/main/java/net/shatteredlands/shatt/backup/ZipLibrary.java b/src/main/java/net/shatteredlands/shatt/backup/ZipLibrary.java index 7cc98d929..dbcdbaf72 100644 --- a/src/main/java/net/shatteredlands/shatt/backup/ZipLibrary.java +++ b/src/main/java/net/shatteredlands/shatt/backup/ZipLibrary.java @@ -48,12 +48,15 @@ public class ZipLibrary { //Create the Source List, and add directories/etc to the file. List sources = new ArrayList(); 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... ");