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,12 +1,13 @@
using System.Linq;
using Content.Server.Access.Components;
using Content.Shared.Containers.ItemSlots;
using Content.Server.Access.Systems;
using Content.Server.GameTicking;
using Content.Server.Hands.Components;
using Content.Server.Inventory.Components;
using Content.Server.Items;
using Content.Server.PDA;
using Content.Shared.Access;
using Content.Shared.Containers.ItemSlots;
using Content.Shared.Sandbox;
using Robust.Server.Console;
using Robust.Server.GameObjects;
@@ -19,7 +20,6 @@ using Robust.Shared.Network;
using Robust.Shared.Prototypes;
using Robust.Shared.ViewVariables;
using static Content.Shared.Inventory.EquipmentSlotDefines;
using Content.Server.Access.Systems;
namespace Content.Server.Sandbox
{
@@ -157,7 +157,7 @@ namespace Content.Server.Sandbox
}
}
void UpgradeId(IEntity id)
void UpgradeId(EntityUidid)
{
var accessSystem = EntitySystem.Get<AccessSystem>();
accessSystem.TrySetTags(id, allAccess);
@@ -168,7 +168,7 @@ namespace Content.Server.Sandbox
}
}
IEntity CreateFreshId()
EntityUidCreateFreshId()
{
var card = _entityManager.SpawnEntity("CaptainIDCard", IoCManager.Resolve<IEntityManager>().GetComponent<TransformComponent>(player.AttachedEntity).Coordinates);
UpgradeId(card);