Fix restartround crash and cleanup ServerStorageComponent (#1340)

This commit is contained in:
DrSmugleaf
2020-07-17 11:03:07 +02:00
committed by GitHub
parent 90ca60c56a
commit 53a2392edc
10 changed files with 342 additions and 259 deletions

View File

@@ -21,9 +21,9 @@ using Robust.Shared.Serialization;
namespace Content.Server.GameObjects.Components
{
[RegisterComponent]
[ComponentReference(typeof(StoreableComponent))]
[ComponentReference(typeof(StorableComponent))]
[ComponentReference(typeof(IItemComponent))]
public class ItemComponent : StoreableComponent, IInteractHand, IExAct, IEquipped, IUnequipped, IItemComponent
public class ItemComponent : StorableComponent, IInteractHand, IExAct, IEquipped, IUnequipped, IItemComponent
{
public override string Name => "Item";
public override uint? NetID => ContentNetIDs.ITEM;