Core/PacketIO: Update some files

Port From (https://github.com/TrinityCore/TrinityCore/commit/76352cb391b4ff239ef70ff85ede4f09fcffc069)
This commit is contained in:
Hondacrx
2025-06-15 20:24:24 -04:00
parent 56e3f80366
commit f105edae7c
9 changed files with 43 additions and 37 deletions
+3 -3
View File
@@ -14,10 +14,10 @@ namespace Game
{
switch (collectionItemSetFavorite.Type)
{
case CollectionType.Toybox:
case ItemCollectionType.Toy:
GetCollectionMgr().ToySetFavorite(collectionItemSetFavorite.Id, collectionItemSetFavorite.IsFavorite);
break;
case CollectionType.Appearance:
case ItemCollectionType.Transmog:
{
var pair = GetCollectionMgr().HasItemAppearance(collectionItemSetFavorite.Id);
if (!pair.Item1 || pair.Item2)
@@ -26,7 +26,7 @@ namespace Game
GetCollectionMgr().SetAppearanceIsFavorite(collectionItemSetFavorite.Id, collectionItemSetFavorite.IsFavorite);
break;
}
case CollectionType.TransmogSet:
case ItemCollectionType.TransmogSetFavorite:
break;
default:
break;