Changes to MailSendService

originally we had the trader id -> then used a method to get the EnumValue as a string -> then later turned it BACK into a traderId

unless im missing something major this should simplify things?

example:
we took "6617beeaa9cfa777ca915b7c" and turned it to "Ref" to then turn it back to "6617beeaa9cfa777ca915b7c"
This commit is contained in:
CWX
2025-04-08 22:03:43 +01:00
parent 617b95b911
commit 95d009e0e4
9 changed files with 18 additions and 12 deletions
@@ -595,7 +595,7 @@ public class InsuranceController(
// Send the insurance message
_mailSendService.SendLocalisedNpcMessageToPlayer(
sessionId,
_traderHelper.GetTraderById(insurance.TraderId).ToString(),
insurance.TraderId,
insurance.MessageType ?? MessageType.SYSTEM_MESSAGE,
insurance.MessageTemplateId,
insurance.Items,