Fix 3000 errors

This commit is contained in:
DrSmugleaf
2021-12-05 18:09:01 +01:00
parent 2bfec7ec62
commit 2a3b7d809d
569 changed files with 2979 additions and 3280 deletions

View File

@@ -1,9 +1,7 @@
using System.Collections.Generic;
using Content.Server.Construction.Components;
using Content.Shared.Construction;
using Content.Shared.Construction.Prototypes;
using Content.Shared.Construction.Steps;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Robust.Server.Containers;
using Robust.Shared.Containers;
using Robust.Shared.GameObjects;
@@ -166,8 +164,7 @@ namespace Content.Server.Construction
Resolve(uid, ref containerManager, false);
// We create the new entity.
IEntity tempQualifier = EntityManager.SpawnEntity(newEntity, transform.Coordinates);
var newUid = (EntityUid) tempQualifier;
var newUid = EntityManager.SpawnEntity(newEntity, transform.Coordinates);
// Construction transferring.
var newConstruction = EntityManager.EnsureComponent<ConstructionComponent>(newUid);