From 6a45a0d3a02e04b502b91b2cfd170088e8a7a5a3 Mon Sep 17 00:00:00 2001 From: WatchAndyTW Date: Tue, 9 Jul 2024 16:06:20 +0800 Subject: [PATCH] Fix lineup heal command hp sync --- Command/Command/Cmd/CommandLineup.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Command/Command/Cmd/CommandLineup.cs b/Command/Command/Cmd/CommandLineup.cs index 136ff610..81a07686 100644 --- a/Command/Command/Cmd/CommandLineup.cs +++ b/Command/Command/Cmd/CommandLineup.cs @@ -1,4 +1,5 @@ using EggLink.DanhengServer.Internationalization; +using EggLink.DanhengServer.Server.Packet.Send.Lineup; using System; using System.Collections.Generic; using System.Linq; @@ -38,6 +39,7 @@ namespace EggLink.DanhengServer.Command.Cmd avatar.CurrentHp = 10000; } player.SceneInstance!.SyncLineup(); + player.SendPacket(new PacketSyncLineupNotify(player.LineupManager.GetCurLineup()!)); arg.SendMsg(I18nManager.Translate("Game.Command.Lineup.HealedAllAvatars")); } }