From e316de6552fec72407559e007996b5aecd45d46d Mon Sep 17 00:00:00 2001 From: CWX Date: Tue, 14 Jan 2025 17:17:32 +0000 Subject: [PATCH] fix missing items array --- Core/Services/MailSendService.cs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Core/Services/MailSendService.cs b/Core/Services/MailSendService.cs index 242efb62..1ff9588e 100644 --- a/Core/Services/MailSendService.cs +++ b/Core/Services/MailSendService.cs @@ -94,6 +94,7 @@ public class MailSendService DialogType = MessageType.NPC_TRADER, Trader = trader, MessageText = message, + Items = new () }; // Add items to message @@ -150,6 +151,7 @@ public class MailSendService DialogType = MessageType.NPC_TRADER, Trader = trader, TemplateId = messageLocaleId, + Items = new() }; // add items to message @@ -188,6 +190,7 @@ public class MailSendService RecipientId = sessionId, Sender = MessageType.SYSTEM_MESSAGE, MessageText = message, + Items = new() }; // add items to message @@ -217,7 +220,8 @@ public class MailSendService { RecipientId = sessionId, Sender = MessageType.SYSTEM_MESSAGE, - TemplateId = messageLocaleId + TemplateId = messageLocaleId, + Items = new() }; // add items to message @@ -254,7 +258,8 @@ public class MailSendService RecipientId = sessionId, Sender = MessageType.USER_MESSAGE, SenderDetails = senderDetails, - MessageText = message + MessageText = message, + Items = new () }; // add items to message