Skip to content

Commit 2e807a6

Browse files
committed
fix: update packet size
1 parent b73ddb8 commit 2e807a6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Cafe.Matcha/Network/NetworkMonitor.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ private bool HandleMessageByOpcode(Packet packet)
203203
}
204204
else if (opcode == MatchaOpcode.NpcSpawn)
205205
{
206-
if (packet.Length != 680)
206+
if (packet.Length != 688)
207207
{
208208
return false;
209209
}
@@ -294,7 +294,7 @@ private bool HandleMessageByOpcode(Packet packet)
294294
}
295295
else if (opcode == MatchaOpcode.ActorControlSelf)
296296
{
297-
if (packet.Length != 64)
297+
if (packet.Length != 72)
298298
{
299299
return false;
300300
}
@@ -486,7 +486,7 @@ private bool HandleMessageByOpcode(Packet packet)
486486
}
487487
else if (opcode == MatchaOpcode.InitZone)
488488
{
489-
if (packet.Length != 144)
489+
if (packet.Length != 168)
490490
{
491491
return false;
492492
}

0 commit comments

Comments
 (0)