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

@@ -154,7 +154,7 @@ namespace Content.Server.GameObjects.Components
continue;
// only items that can be stored in an inventory, or a mob, can be eaten by a locker
if (!entity.HasComponent<StoreableComponent>() && !entity.HasComponent<SpeciesComponent>())
if (!entity.HasComponent<StorableComponent>() && !entity.HasComponent<SpeciesComponent>())
continue;
if (!AddToContents(entity))