@@ -28,7 +28,6 @@ using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.IoC;
|
||||
using Robust.Shared.Localization;
|
||||
using Robust.Shared.Log;
|
||||
using Robust.Shared.Physics;
|
||||
using Robust.Shared.Random;
|
||||
using Robust.Shared.Serialization;
|
||||
using Robust.Shared.Timing;
|
||||
@@ -140,7 +139,7 @@ namespace Content.Server.GameObjects.Components.Disposal
|
||||
if (!base.CanInsert(entity))
|
||||
return false;
|
||||
|
||||
if (!entity.TryGetComponent(out IPhysBody? physics) ||
|
||||
if (!entity.TryGetComponent(out IPhysicsComponent? physics) ||
|
||||
!physics.CanCollide)
|
||||
{
|
||||
if (entity.TryGetComponent(out IMobStateComponent? state) && state.IsDead())
|
||||
|
||||
Reference in New Issue
Block a user