diff --git a/MCGalaxy/Commands/Maintenance/CmdServer.cs b/MCGalaxy/Commands/Maintenance/CmdServer.cs index 841554650..978062eb9 100644 --- a/MCGalaxy/Commands/Maintenance/CmdServer.cs +++ b/MCGalaxy/Commands/Maintenance/CmdServer.cs @@ -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; diff --git a/MCGalaxy/Config/ServerProperties.cs b/MCGalaxy/Config/ServerProperties.cs index 2da60a850..31a379a79 100644 --- a/MCGalaxy/Config/ServerProperties.cs +++ b/MCGalaxy/Config/ServerProperties.cs @@ -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); } diff --git a/MCGalaxy/Server/Server.Fields.cs b/MCGalaxy/Server/Server.Fields.cs index 8f89f5832..2b79978ee 100644 --- a/MCGalaxy/Server/Server.Fields.cs +++ b/MCGalaxy/Server/Server.Fields.cs @@ -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 disabledChatTokens = new List();