Remove many resolves on Content.Server
This commit is contained in:
@@ -56,7 +56,7 @@ namespace Content.Server.Construction.Conditions
|
||||
|
||||
foreach (var ent in entities)
|
||||
{
|
||||
if (IoCManager.Resolve<IEntityManager>().HasComponent(ent, type))
|
||||
if (entityManager.HasComponent(ent, type))
|
||||
return HasEntity;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user