Adds official .NET 5 support (#300)
This commit is contained in:
parent
c3289a20ab
commit
013f333898
39 changed files with 496 additions and 668 deletions
|
|
@ -330,12 +330,7 @@ namespace Server.Gumps
|
|||
|
||||
public int CompareTo(InternalEntry comp)
|
||||
{
|
||||
if (Name == null && comp.Name == null)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
var v = Name?.CompareTo(comp.Name) ?? 1;
|
||||
var v = string.CompareOrdinal(Name, comp.Name);
|
||||
|
||||
return v == 0 ? Body.CompareTo(comp.Body) : v;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue