Skip to content

Commit

Permalink
Fixes the packet length
Browse files Browse the repository at this point in the history
  • Loading branch information
kamronbatman authored and markdwags committed Jun 28, 2022
1 parent 4fbd482 commit c4ff6b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Razor/Network/Packets.cs
Expand Up @@ -1795,7 +1795,7 @@ internal AssistVersion()
{
var assistVersion = $"Razor {(typeof(AssistVersion).Assembly.GetName().Version)}";

EnsureCapacity(9 + assistVersion.Length);
EnsureCapacity(3 + assistVersion.Length);

WriteAsciiNull(assistVersion);
}
Expand Down

0 comments on commit c4ff6b1

Please sign in to comment.