Remove the 1 IContainerManager usage (#19477)
This commit is contained in:
parent
1fc2da2228
commit
48d0e742c0
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ namespace Content.Server.Containers
|
|||
|
||||
private void OnDeconstruct(EntityUid uid, EmptyOnMachineDeconstructComponent component, MachineDeconstructedEvent ev)
|
||||
{
|
||||
if (!EntityManager.TryGetComponent<IContainerManager>(uid, out var mComp))
|
||||
if (!EntityManager.TryGetComponent<ContainerManagerComponent>(uid, out var mComp))
|
||||
return;
|
||||
var baseCoords = EntityManager.GetComponent<TransformComponent>(component.Owner).Coordinates;
|
||||
foreach (var v in component.Containers)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue