Fix nullable build errors (#1849)

This commit is contained in:
DrSmugleaf
2020-08-22 12:24:59 +02:00
committed by GitHub
parent 1c21f2c3b0
commit 8a21df21f2
5 changed files with 23 additions and 23 deletions

View File

@@ -35,7 +35,7 @@ namespace Content.Server.AI.Operators.Inventory
return Outcome.Failed;
}
if (!container.Owner.TryGetComponent(out EntityStorageComponent storageComponent) ||
if (!container.Owner.TryGetComponent(out EntityStorageComponent? storageComponent) ||
storageComponent.IsWeldedShut)
{
return Outcome.Failed;