allow network payload data to inherit nullability (#21327)

This commit is contained in:
avery
2023-11-06 02:25:25 +00:00
committed by GitHub
parent f103a38b23
commit e35cd611d6

View File

@@ -3,7 +3,7 @@ using System.Diagnostics.CodeAnalysis;
namespace Content.Server.DeviceNetwork
{
public sealed class NetworkPayload : Dictionary<string, object>
public sealed class NetworkPayload : Dictionary<string, object?>
{
/// <summary>
/// Tries to get a value from the payload and checks if that value is of type T.