Fixed bug with Chimera Wing failing when used on half-blocks - Fixes

MCCORE-221

Also added treasures.yml to the zip backup.
This commit is contained in:
GJ
2012-05-01 08:28:54 -04:00
parent 6b5e615a23
commit 6cc207a10c
4 changed files with 17 additions and 15 deletions

View File

@ -22,6 +22,7 @@ public class ZipLibrary {
private static File FlatFileDirectory = new File(mcMMO.flatFileDirectory);
private static File UsersFile = new File(mcMMO.usersFile);
private static File ConfigFile = new File(mcMMO.mainDirectory + "config.yml");
private static File TreasuresFile = new File(mcMMO.mainDirectory + "treasures.yml");
private static File Leaderboards = new File(mcMMO.leaderboardDirectory);
public static void mcMMObackup() throws IOException {
@ -37,7 +38,6 @@ public class ZipLibrary {
} catch (Exception e) {
mcMMO.p.getLogger().severe(e.toString());
}
//Generate the proper date for the backup filename
Date date = new Date();
@ -49,6 +49,7 @@ public class ZipLibrary {
sources.add(FlatFileDirectory);
sources.add(UsersFile);
sources.add(ConfigFile);
sources.add(TreasuresFile);
sources.add(Leaderboards);
//Actually do something