Fix build and loading crashes
Port From (https://github.com/TrinityCore/TrinityCore/commit/)
This commit is contained in:
@@ -2276,7 +2276,7 @@ namespace Game.Entities
|
||||
}
|
||||
}
|
||||
|
||||
public struct ChrCustomizationChoice
|
||||
public struct ChrCustomizationChoice : IComparable<ChrCustomizationChoice>
|
||||
{
|
||||
public uint ChrCustomizationOptionID;
|
||||
public uint ChrCustomizationChoiceID;
|
||||
@@ -2298,6 +2298,11 @@ namespace Game.Entities
|
||||
data.WriteUInt32(ChrCustomizationOptionID);
|
||||
data.WriteUInt32(ChrCustomizationChoiceID);
|
||||
}
|
||||
|
||||
public int CompareTo(ChrCustomizationChoice other)
|
||||
{
|
||||
return ChrCustomizationOptionID.CompareTo(other.ChrCustomizationOptionID);
|
||||
}
|
||||
}
|
||||
|
||||
public class QuestLog : BaseUpdateData<Player>
|
||||
|
||||
Reference in New Issue
Block a user