mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-24 05:03:34 -04:00
use right backups path
This commit is contained in:
parent
226fbc260a
commit
2c9d0c0311
@ -178,7 +178,7 @@ namespace MCGalaxy.Commands {
|
||||
Server.restarttime = DateTime.Now;
|
||||
Server.level = "main";
|
||||
|
||||
Server.backupLocation = Path.Combine(Utils.FolderPath, "/levels/backups");
|
||||
Server.backupLocation = Path.Combine(Utils.FolderPath, "levels/backups");
|
||||
Server.blockInterval = 60;
|
||||
|
||||
Server.unsafe_plugin = true;
|
||||
|
@ -49,7 +49,7 @@ namespace MCGalaxy {
|
||||
MySQLBackend.Instance : SQLiteBackend.Instance;
|
||||
|
||||
if (!Directory.Exists(Server.backupLocation))
|
||||
Server.backupLocation = Path.Combine(Utils.FolderPath, "/levels/backups");
|
||||
Server.backupLocation = Path.Combine(Utils.FolderPath, "levels/backups");
|
||||
Server.updateTimer.Interval = Server.PositionInterval;
|
||||
Save(givenPath);
|
||||
}
|
||||
|
@ -291,7 +291,7 @@ namespace MCGalaxy {
|
||||
public static int backupInterval = 300;
|
||||
public static int blockInterval = 60;
|
||||
[ConfigString("backup-location", "Backup", null, "")]
|
||||
public static string backupLocation = Path.Combine(Utils.FolderPath, "/levels/backups");
|
||||
public static string backupLocation = Path.Combine(Utils.FolderPath, "levels/backups");
|
||||
[ConfigStringList("disabledstandardtokens", "Other", null)]
|
||||
internal static List<string> disabledChatTokens = new List<string>();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user