mirror of
https://git.lewd.wtf/PGR/ascnet
synced 2025-12-14 09:14:39 +01:00
add notify item when stage reward
This commit is contained in:
@@ -227,7 +227,10 @@ namespace AscNet.GameServer.Handlers
|
|||||||
// TODO: Implement other types. Other types are behaving weirdly
|
// TODO: Implement other types. Other types are behaving weirdly
|
||||||
if (rewardType == RewardType.Item)
|
if (rewardType == RewardType.Item)
|
||||||
{
|
{
|
||||||
session.inventory.Do(rewardGood.TemplateId, rewardGood.Count);
|
NotifyItemDataList notifyItemData = new();
|
||||||
|
notifyItemData.ItemDataList.Add(session.inventory.Do(rewardGood.TemplateId, rewardGood.Count));
|
||||||
|
session.SendPush(notifyItemData);
|
||||||
|
|
||||||
rewards.Add(new()
|
rewards.Add(new()
|
||||||
{
|
{
|
||||||
Id = rewardGood.Id,
|
Id = rewardGood.Id,
|
||||||
|
|||||||
Reference in New Issue
Block a user