Skip to content

Commit 68ea927

Browse files
committed
fix builtin packet discovery
1 parent 4ab5d14 commit 68ea927

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Intersect.Client.Core/Core/Bootstrapper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public static void Start(Assembly entryAssembly, params string[] args)
5252

5353
PlatformStatistics.Logger = loggerFactory.CreateLogger<PlatformStatistics>();
5454

55-
var packetTypeRegistry = new PacketTypeRegistry(logger, typeof(SharedConstants).Assembly);
55+
var packetTypeRegistry = new PacketTypeRegistry(logger, typeof(IntersectPacket).Assembly);
5656
if (!packetTypeRegistry.TryRegisterBuiltIn())
5757
{
5858
logger.LogError("Failed to register built-in packets.");

Intersect.Server.Core/Core/Bootstrapper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public static void Start(Assembly entryAssembly, string[] args, params Action<Se
7878

7979
PlatformStatistics.Logger = loggerFactory.CreateLogger<PlatformStatistics>();
8080

81-
var packetTypeRegistry = new PacketTypeRegistry(logger, typeof(SharedConstants).Assembly);
81+
var packetTypeRegistry = new PacketTypeRegistry(logger, typeof(IntersectPacket).Assembly);
8282
if (!packetTypeRegistry.TryRegisterBuiltIn())
8383
{
8484
logger.LogCritical("[FATAL] Failed to load built-in packet types.");

0 commit comments

Comments
 (0)