Enable nullability in Content.Server (#3685)
This commit is contained in:
@@ -25,7 +25,7 @@ namespace Content.Server.GameObjects.EntitySystems
|
||||
|
||||
private void RotateEvent(RotateEvent ev)
|
||||
{
|
||||
if (!ev.Sender.TryGetComponent(out NodeContainerComponent container))
|
||||
if (!ev.Sender.TryGetComponent(out NodeContainerComponent? container))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user