Updated SetCustomisation to handle voice changes

This commit is contained in:
Chomp
2025-07-19 22:02:38 +01:00
parent ff513beb9e
commit 96e073c604
@@ -264,7 +264,7 @@ public class CustomizationController(
/// <param name="sessionId">Session/Player id</param>
/// <param name="request"></param>
/// <param name="pmcData">Players PMC profile</param>
/// <returns></returns>
/// <returns>ItemEventRouterResponse</returns>
public ItemEventRouterResponse SetCustomisation(
MongoId sessionId,
CustomizationSetRequest request,
@@ -281,6 +281,9 @@ public class CustomizationController(
case "suite":
ApplyClothingItemToProfile(customisation, pmcData);
break;
case "voice":
pmcData.Customization.Voice = customisation.Id;
break;
default:
logger.Error($"Unhandled customisation type: {customisation.Type}");
break;