mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Revert to returning 1 until a better option is found
This commit is contained in:
@@ -169,7 +169,7 @@ namespace SabreTools.DatItems
|
|||||||
|
|
||||||
// If the names are equal
|
// If the names are equal
|
||||||
if (selfName == otherName)
|
if (selfName == otherName)
|
||||||
return Equals(other) ? 0 : (other.ItemType - ItemType);
|
return Equals(other) ? 0 : 1;
|
||||||
|
|
||||||
// If `otherName` is null, Compare will return > 0
|
// If `otherName` is null, Compare will return > 0
|
||||||
// If `selfName` is null, Compare will return < 0
|
// If `selfName` is null, Compare will return < 0
|
||||||
@@ -566,7 +566,7 @@ namespace SabreTools.DatItems
|
|||||||
|
|
||||||
// If the names are equal
|
// If the names are equal
|
||||||
if (selfName == otherName)
|
if (selfName == otherName)
|
||||||
return Equals(other) ? 0 : (other.ItemType - ItemType);
|
return Equals(other) ? 0 : 1;
|
||||||
|
|
||||||
// If `otherName` is null, Compare will return > 0
|
// If `otherName` is null, Compare will return > 0
|
||||||
// If `selfName` is null, Compare will return < 0
|
// If `selfName` is null, Compare will return < 0
|
||||||
|
|||||||
Reference in New Issue
Block a user