From bdfbb351604da48acdf1f9661a7c3f12da55ee0a Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Wed, 8 Jan 2025 10:15:42 -0500 Subject: [PATCH] Revert to returning 1 until a better option is found --- SabreTools.DatItems/DatItem.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SabreTools.DatItems/DatItem.cs b/SabreTools.DatItems/DatItem.cs index 0b4dd0f8..2bdcb9a9 100644 --- a/SabreTools.DatItems/DatItem.cs +++ b/SabreTools.DatItems/DatItem.cs @@ -169,7 +169,7 @@ namespace SabreTools.DatItems // If the names are equal if (selfName == otherName) - return Equals(other) ? 0 : (other.ItemType - ItemType); + return Equals(other) ? 0 : 1; // If `otherName` 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 (selfName == otherName) - return Equals(other) ? 0 : (other.ItemType - ItemType); + return Equals(other) ? 0 : 1; // If `otherName` is null, Compare will return > 0 // If `selfName` is null, Compare will return < 0