Enable nullability in Content.Server (#3685)
This commit is contained in:
@@ -12,7 +12,7 @@ namespace Content.Server.AI.WorldState.States.Nutrition
|
||||
|
||||
public override bool GetValue()
|
||||
{
|
||||
if (!Owner.TryGetComponent(out ThirstComponent thirstComponent))
|
||||
if (!Owner.TryGetComponent(out ThirstComponent? thirstComponent))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user