Inline EntityManager
This commit is contained in:
@@ -318,7 +318,7 @@ namespace Content.Server.Construction.Components
|
||||
if (splitStack == null)
|
||||
return false;
|
||||
|
||||
if(!_partContainer.Insert(Owner.EntityManager.GetEntity(splitStack.Value)))
|
||||
if(!_partContainer.Insert(IoCManager.Resolve<IEntityManager>().GetEntity(splitStack.Value)))
|
||||
return false;
|
||||
|
||||
_materialProgress[type] += needed;
|
||||
|
||||
Reference in New Issue
Block a user