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

@@ -17,7 +17,7 @@ namespace BLHX.Server.Game
static GameServer()
{
// Preload
System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(typeof(PacketFactory).TypeHandle);
System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(typeof(PacketHandlerFactory).TypeHandle);
EndPoint = new(IPAddress.Any, (int)Config.Instance.Port);
listener = new TcpListener(EndPoint);