Update translation file

This commit is contained in:
BruceChen 2022-10-06 22:14:15 +08:00
parent e44192ab7b
commit e5c713192e
11 changed files with 1887 additions and 97 deletions

View file

@ -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);
}
/// <summary>
/// Compare two locations. Locations are not equals if the integer part of their coordinates are not equals.
/// </summary>
@ -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);
}
/// <summary>
/// Sums two locations and returns the result.
/// </summary>