Enable nullability in Content.Server (#3685)
This commit is contained in:
@@ -2,11 +2,8 @@
|
||||
using System.Collections.Generic;
|
||||
using Content.Server.Construction;
|
||||
using Content.Server.Interfaces.GameObjects;
|
||||
using Robust.Server.GameObjects;
|
||||
using Robust.Shared.Containers;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.Prototypes;
|
||||
using Robust.Shared.Serialization;
|
||||
using Robust.Shared.Serialization.Manager.Attributes;
|
||||
|
||||
namespace Content.Server.GameObjects.Components.Construction
|
||||
@@ -17,10 +14,10 @@ namespace Content.Server.GameObjects.Components.Construction
|
||||
public override string Name => "Machine";
|
||||
|
||||
[DataField("board")]
|
||||
public string BoardPrototype { get; private set; }
|
||||
public string? BoardPrototype { get; private set; }
|
||||
|
||||
private Container _boardContainer;
|
||||
private Container _partContainer;
|
||||
private Container _boardContainer = default!;
|
||||
private Container _partContainer = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user