From 4444023b2d6eb917ed4c0d6670a5769979f90666 Mon Sep 17 00:00:00 2001 From: Lucas Nicodemus Date: Tue, 26 Dec 2017 19:58:11 -0700 Subject: [PATCH] Remove deprecated distance method --- TShockAPI/TShock.cs | 10 ---------- 1 file changed, 10 deletions(-) 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)