fix(build): Attempt to fix possible nullable warnings as errors with releases (#418)

This commit is contained in:
Kamron Batman 2021-01-18 11:52:31 -08:00 committed by GitHub
parent 08f05afd01
commit 87764ca968
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 23 additions and 11 deletions

View file

@ -2411,6 +2411,7 @@ namespace Server
m_PropertyList = null;
}
#nullable enable
public void InvalidateProperties()
{
if (!ObjectPropertyList.Enabled)
@ -2445,6 +2446,7 @@ namespace Server
ClearProperties();
}
}
#nullable disable
public virtual int GetPacketFlags()
{