Enable nullability in Content.Server (#3685)
This commit is contained in:
@@ -53,7 +53,13 @@ namespace Content.Server.Commands.Chat
|
||||
|
||||
if (mindComponent == null)
|
||||
{
|
||||
shell.WriteLine("You don't have a mind!");
|
||||
shell.WriteError("You don't have a mind!");
|
||||
return;
|
||||
}
|
||||
|
||||
if (mindComponent.OwnedEntity == null)
|
||||
{
|
||||
shell.WriteError("You don't have an entity!");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user