Convert Regions/Spawns to JSON (#138)
This commit is contained in:
parent
b8316e9202
commit
390f30e706
117 changed files with 97306 additions and 4848 deletions
|
|
@ -340,7 +340,7 @@ namespace Server.Commands
|
|||
|
||||
int v = -aCount.CompareTo(bCount);
|
||||
|
||||
return v != 0 ? v : x.Key.FullName.CompareTo(y.Key.FullName);
|
||||
return v != 0 ? v : x.Key.FullName?.CompareTo(y.Key.FullName) ?? -1;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -353,7 +353,7 @@ namespace Server.Commands
|
|||
|
||||
int v = -aCount.CompareTo(bCount);
|
||||
|
||||
return v != 0 ? v : x.Key.FullName.CompareTo(y.Key.FullName);
|
||||
return v != 0 ? v : x.Key.FullName?.CompareTo(y.Key.FullName) ?? 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue