diff --git a/Content.Shared/Stacks/SharedStackSystem.cs b/Content.Shared/Stacks/SharedStackSystem.cs index 7fe058afba..c444b8936d 100644 --- a/Content.Shared/Stacks/SharedStackSystem.cs +++ b/Content.Shared/Stacks/SharedStackSystem.cs @@ -257,7 +257,7 @@ namespace Content.Shared.Stacks public int GetMaxCount(string entityId) { var entProto = _prototype.Index(entityId); - entProto.TryGetComponent(out var stackComp); + entProto.TryGetComponent(out var stackComp, EntityManager.ComponentFactory); return GetMaxCount(stackComp); }