diff --git a/MCGalaxy/Commands/Command.cs b/MCGalaxy/Commands/Command.cs index ac34ec835..91e3746c9 100644 --- a/MCGalaxy/Commands/Command.cs +++ b/MCGalaxy/Commands/Command.cs @@ -32,7 +32,7 @@ namespace MCGalaxy public virtual string shortcut { get { return ""; } } /// The type/group of this command (see `CommandTypes` class) public abstract string type { get; } - /// Whether this comand can be used in museums + /// Whether this command can be used in museums /// Level altering (e.g. places a block) commands should return false public virtual bool museumUsable { get { return true; } } /// The default minimum rank that is required to use this command diff --git a/MCGalaxy/CorePlugin/ConnectHandler.cs b/MCGalaxy/CorePlugin/ConnectHandler.cs index 338201bbb..f9b98b35f 100644 --- a/MCGalaxy/CorePlugin/ConnectHandler.cs +++ b/MCGalaxy/CorePlugin/ConnectHandler.cs @@ -25,7 +25,6 @@ namespace MCGalaxy.Core { CheckReviewList(p); if (p.CanUse("ReachDistance")) LoadReach(p); - LoadWaypoints(p); p.Ignores.Load(p); } @@ -51,14 +50,5 @@ namespace MCGalaxy.Core { p.ReachDistance = reachDist / 32f; p.Session.SendSetReach(p.ReachDistance); } - - static void LoadWaypoints(Player p) { - try { - p.Waypoints.Filename = Paths.WaypointsDir + p.name + ".save"; - p.Waypoints.Load(); - } catch (Exception ex) { - Logger.LogError("Error loading waypoints", ex); - } - } } } diff --git a/MCGalaxy/MCGalaxy_.csproj b/MCGalaxy/MCGalaxy_.csproj index 06a0f9155..f6f346a6c 100644 --- a/MCGalaxy/MCGalaxy_.csproj +++ b/MCGalaxy/MCGalaxy_.csproj @@ -317,8 +317,6 @@ - - @@ -604,6 +602,11 @@ + + + + + @@ -634,7 +637,6 @@ - @@ -710,7 +712,9 @@ Always - + + +