diff --git a/TShockAPI/Utils.cs b/TShockAPI/Utils.cs index 3626775e..dcd142ea 100644 --- a/TShockAPI/Utils.cs +++ b/TShockAPI/Utils.cs @@ -1428,7 +1428,7 @@ namespace TShockAPI } } - /// FixChestStacks - Verifies that each stack in each chest is valid and not over the max stack count. + /// Verifies that each stack in each chest is valid and not over the max stack count. internal void FixChestStacks() { if (TShock.Config.IgnoreChestStacksOnLoad) @@ -1447,8 +1447,8 @@ namespace TShockAPI } } - /// SetConsoleTitle - Updates the console title with some pertinent information. - /// empty - True/false if the server is empty; determines if we should use Utils.ActivePlayers() for player count or 0. + /// Updates the console title with some pertinent information. + /// If the server is empty; determines if we should use Utils.ActivePlayers() for player count or 0. internal void SetConsoleTitle(bool empty) { Console.Title = string.Format("{0}{1}/{2} on {3} @ {4}:{5} (TShock for Terraria v{6})", @@ -1457,10 +1457,10 @@ namespace TShockAPI TShock.Config.MaxSlots, Main.worldName, Netplay.ServerIP.ToString(), Netplay.ListenPort, TShock.VersionNum); } - /// Distance - Determines the distance between two vectors. - /// value1 - The first vector location. - /// value2 - The second vector location. - /// float - The distance between the two vectors. + /// Determines the distance between two vectors. + /// The first vector location. + /// The second vector location. + /// The distance between the two vectors. public static float Distance(Vector2 value1, Vector2 value2) { float num2 = value1.X - value2.X; @@ -1469,7 +1469,7 @@ namespace TShockAPI return (float)Math.Sqrt(num3); } - /// ComputeMaxStyles - Computes the max styles... + /// Computes the max styles... internal void ComputeMaxStyles() { var item = new Item();