Enable nullability in Content.Server (#3685)
This commit is contained in:
@@ -14,7 +14,7 @@ namespace Content.Server.GameObjects.Components.Destructible.Thresholds.Behavior
|
||||
|
||||
public void Execute(IEntity owner, DestructibleSystem system)
|
||||
{
|
||||
if (owner.TryGetComponent(out IBody body))
|
||||
if (owner.TryGetComponent(out IBody? body))
|
||||
{
|
||||
body.Gib(_recursive);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user