Fix presentation of messages with items (rewards & insurance returns) (#265)

This commit is contained in:
hulkhan22
2025-05-21 23:29:34 +02:00
committed by GitHub
parent e941213e0e
commit aef3a4202f
14 changed files with 50 additions and 50 deletions
@@ -321,7 +321,7 @@ public class TradeController(
_mailSendService.SendLocalisedNpcMessageToPlayer(
sessionId,
trader,
MessageType.MESSAGE_WITH_ITEMS,
MessageType.MessageWithItems,
_randomUtil.GetArrayValue(_databaseService.GetTrader(trader).Dialogue.TryGetValue("soldItems", out var items) ? items : new List<string>()),
curencyReward.SelectMany(x => x).ToList(),
_timeUtil.GetHoursAsSeconds(72)