From efa47e46d720bf90139a63ce232e2ab0958af8bf Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Thu, 28 Sep 2017 09:12:14 +1000 Subject: [PATCH] delete a little bit of obsolete code --- MCGalaxy/Commands/Information/CmdMapInfo.cs | 2 +- MCGalaxy/Server/Server.cs | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/MCGalaxy/Commands/Information/CmdMapInfo.cs b/MCGalaxy/Commands/Information/CmdMapInfo.cs index 259449e0c..6490f802b 100644 --- a/MCGalaxy/Commands/Information/CmdMapInfo.cs +++ b/MCGalaxy/Commands/Information/CmdMapInfo.cs @@ -191,7 +191,7 @@ namespace MCGalaxy.Commands.Info { Player.Message(p, "Weather fade rate: &b{0}%%S, Exponential fog: {1}", (cfg.WeatherFade / 128).ToString("F2"), cfg.ExpFog ? "&aON" : "&cOFF"); - Player.Message(p, "Skybox rotations: Horizontal &b{0}%S, vertical &b{1}", + Player.Message(p, "Skybox rotations: Horizontal &b{0}%S, Vertical &b{1}", SkyboxSpeed(cfg.SkyboxHorSpeed), SkyboxSpeed(cfg.SkyboxVerSpeed)); } diff --git a/MCGalaxy/Server/Server.cs b/MCGalaxy/Server/Server.cs index 975a698fe..221fda925 100644 --- a/MCGalaxy/Server/Server.cs +++ b/MCGalaxy/Server/Server.cs @@ -84,15 +84,6 @@ namespace MCGalaxy { Logger.Log(LogType.SystemActivity, "Starting Server"); ServicePointManager.Expect100Continue = false; - try { - if (File.Exists("Restarter.exe")) - File.Delete("Restarter.exe"); - } catch { } - try { - if (File.Exists("Restarter.pdb")) - File.Delete("Restarter.pdb"); - } catch { } - CheckFile("MySql.Data.dll"); CheckFile("System.Data.SQLite.dll"); CheckFile("sqlite3_x32.dll");