fix: Fixes ValueStringBuilder empty ctor issue (#1035)

This commit is contained in:
Kamron Batman 2022-05-27 17:49:36 -07:00 • committed by GitHub
parent fe225003c6
commit 3b7e3c2fb7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 16 additions and 14 deletions

View file

@ -81,7 +81,7 @@ namespace Server.Misc
private static void EventSink_ClientVersionReceived(NetState state, ClientVersion version)
{
using var message = new ValueStringBuilder();
using var message = ValueStringBuilder.Create();
if (!_enable || state.Mobile?.AccessLevel != AccessLevel.Player)
{