diff --git a/TShockAPI/TShock.cs b/TShockAPI/TShock.cs index c88fc247..1f101e90 100644 --- a/TShockAPI/TShock.cs +++ b/TShockAPI/TShock.cs @@ -1724,16 +1724,6 @@ namespace TShockAPI e.Handled = true; } - /// Distance - Determines the distance between two vectors. - /// value1 - The first vector location. - /// value2 - The second vector location. - /// float - The distance between the two vectors. - [Obsolete("Use TShock.Utils.Distance(Vector2, Vector2) instead.", true)] - public static float Distance(Vector2 value1, Vector2 value2) - { - return Utils.Distance(value1, value2); - } - /// OnConfigRead - Fired when the config file has been read. /// file - The config file object. public void OnConfigRead(ConfigFile file)