This commit is contained in:
rfi
2024-02-22 00:25:19 +07:00
parent 9b6673138e
commit b232088f4d
8 changed files with 18 additions and 18 deletions

View File

@@ -68,7 +68,7 @@ namespace BLHX.Server.Game
var packet = new Packet(buf[readLen..]);
c.Log(packet.command.ToString());
(PacketHandlerDelegate? handler, PacketHandlerAttribute? attr) = PacketFactory.GetPacketHandler(packet.command);
(PacketHandlerDelegate? handler, PacketHandlerAttribute? attr) = PacketHandlerFactory.GetPacketHandler(packet.command);
if (handler is not null && attr is not null)
{
handler(this, packet);