diff --git a/MinecraftClient/Mapping/Location.cs b/MinecraftClient/Mapping/Location.cs index b64ace5e..f535c724 100644 --- a/MinecraftClient/Mapping/Location.cs +++ b/MinecraftClient/Mapping/Location.cs @@ -295,15 +295,6 @@ namespace MinecraftClient.Mapping return loc1.Equals(loc2); } - public static bool operator ==(Location? loc1, Location? loc2) - { - if (loc1 == null && loc2 == null) - return true; - if (loc1 == null || loc2 == null) - return false; - return loc1.Equals(loc2); - } - /// /// Compare two locations. Locations are not equals if the integer part of their coordinates are not equals. /// @@ -315,15 +306,6 @@ namespace MinecraftClient.Mapping return !loc1.Equals(loc2); } - public static bool operator !=(Location? loc1, Location? loc2) - { - if (loc1 == null && loc2 == null) - return false; - if (loc1 == null || loc2 == null) - return true; - return !loc1.Equals(loc2); - } - /// /// Sums two locations and returns the result. ///