Fix 3000 errors
This commit is contained in:
@@ -1,11 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Content.Server.Atmos;
|
||||
using Content.Server.Atmos.EntitySystems;
|
||||
using Content.Server.Disposal.Tube.Components;
|
||||
using Content.Server.Disposal.Tube;
|
||||
using Content.Server.Disposal.Unit.EntitySystems;
|
||||
using Content.Server.Items;
|
||||
using Content.Shared.Atmos;
|
||||
using Content.Shared.Body.Components;
|
||||
@@ -77,7 +72,7 @@ namespace Content.Server.Disposal.Unit.Components
|
||||
Container = ContainerHelpers.EnsureContainer<Container>(Owner, nameof(DisposalHolderComponent));
|
||||
}
|
||||
|
||||
private bool CanInsert(IEntity entity)
|
||||
private bool CanInsert(EntityUid entity)
|
||||
{
|
||||
if (!Container.CanInsert(entity))
|
||||
{
|
||||
@@ -88,7 +83,7 @@ namespace Content.Server.Disposal.Unit.Components
|
||||
IoCManager.Resolve<IEntityManager>().HasComponent<SharedBodyComponent>(entity);
|
||||
}
|
||||
|
||||
public bool TryInsert(IEntity entity)
|
||||
public bool TryInsert(EntityUid entity)
|
||||
{
|
||||
if (!CanInsert(entity) || !Container.Insert(entity))
|
||||
{
|
||||
|
||||
@@ -71,7 +71,7 @@ namespace Content.Server.Disposal.Unit.Components
|
||||
/// </summary>
|
||||
[ViewVariables] public Container Container = default!;
|
||||
|
||||
[ViewVariables] public IReadOnlyList<IEntity> ContainedEntities => Container.ContainedEntities;
|
||||
[ViewVariables] public IReadOnlyList<EntityUid> ContainedEntities => Container.ContainedEntities;
|
||||
|
||||
[ViewVariables]
|
||||
public bool Powered =>
|
||||
@@ -88,7 +88,7 @@ namespace Content.Server.Disposal.Unit.Components
|
||||
[DataField("air")]
|
||||
public GasMixture Air { get; set; } = new(Atmospherics.CellVolume);
|
||||
|
||||
private bool PlayerCanUse(IEntity? player)
|
||||
private bool PlayerCanUse(EntityUid player)
|
||||
{
|
||||
if (player == null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user