diff --git a/Content.Shared/Storage/EntitySystems/SharedEntityStorageSystem.cs b/Content.Shared/Storage/EntitySystems/SharedEntityStorageSystem.cs index 2d85f79e03..31803c394f 100644 --- a/Content.Shared/Storage/EntitySystems/SharedEntityStorageSystem.cs +++ b/Content.Shared/Storage/EntitySystems/SharedEntityStorageSystem.cs @@ -368,13 +368,9 @@ public abstract class SharedEntityStorageSystem : EntitySystem if (toAdd == container) return false; - if (TryComp(toAdd, out var phys)) - { - var aabb = _physics.GetWorldAABB(toAdd, body: phys); - - if (component.MaxSize < aabb.Size.X || component.MaxSize < aabb.Size.Y) - return false; - } + var aabb = _lookup.GetAABBNoContainer(toAdd, Vector2.Zero, 0); + if (component.MaxSize < aabb.Size.X || component.MaxSize < aabb.Size.Y) + return false; return Insert(toAdd, container, component); }