mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 18:31:17 +03:00
14 lines
392 B
C#
14 lines
392 B
C#
using Content.Server.Xenoarchaeology.XenoArtifacts;
|
|
|
|
namespace Content.Server.Storage.Components;
|
|
|
|
[RegisterComponent]
|
|
public sealed class ArtifactStorageComponent : EntityStorageComponent
|
|
{
|
|
[Dependency] private readonly IEntityManager _entMan = default!;
|
|
|
|
public override bool CanFit(EntityUid entity)
|
|
{
|
|
return _entMan.HasComponent<ArtifactComponent>(entity);
|
|
}
|
|
}
|