diff --git a/Content.Server/Destructible/Thresholds/Behaviors/EmptyAllContainersBehaviour.cs b/Content.Server/Destructible/Thresholds/Behaviors/EmptyAllContainersBehaviour.cs index e696ad9258..60e7423247 100644 --- a/Content.Server/Destructible/Thresholds/Behaviors/EmptyAllContainersBehaviour.cs +++ b/Content.Server/Destructible/Thresholds/Behaviors/EmptyAllContainersBehaviour.cs @@ -13,7 +13,7 @@ namespace Content.Server.Destructible.Thresholds.Behaviors if (!system.EntityManager.TryGetComponent(owner, out var containerManager)) return; - foreach (var container in containerManager.GetAllContainers()) + foreach (var container in system.EntityManager.System().GetAllContainers(owner, containerManager)) { system.ContainerSystem.EmptyContainer(container, true, system.EntityManager.GetComponent(owner).Coordinates); }