Enable nullability in Content.Server (#3685)
This commit is contained in:
@@ -18,7 +18,7 @@ namespace Content.Server.AI.WorldState.States.Nutrition
|
||||
{
|
||||
var result = new List<IEntity>();
|
||||
|
||||
if (!Owner.TryGetComponent(out AiControllerComponent controller))
|
||||
if (!Owner.TryGetComponent(out AiControllerComponent? controller))
|
||||
{
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user