diff --git a/Data/Scripts/ModularEncountersSystems/Spawning/Manipulation/StorageTools.cs b/Data/Scripts/ModularEncountersSystems/Spawning/Manipulation/StorageTools.cs index e2d07c7..410f572 100644 --- a/Data/Scripts/ModularEncountersSystems/Spawning/Manipulation/StorageTools.cs +++ b/Data/Scripts/ModularEncountersSystems/Spawning/Manipulation/StorageTools.cs @@ -52,7 +52,7 @@ public static void ApplyCustomBlockStorage(MyObjectBuilder_CubeBlock block, Guid foreach (var component in block.ComponentContainer.Components) { - if (component.TypeId != "MyModStorageComponentBase") { + if (component.TypeId != "MyModStorageComponentBase" && component.TypeId != "MyModStorageComponent") { continue; @@ -114,7 +114,7 @@ public static void ApplyCustomEntityStorage(MyObjectBuilder_EntityBase entity, G foreach (var component in entity.ComponentContainer.Components) { - if (component.TypeId != "MyModStorageComponentBase") { + if (component.TypeId != "MyModStorageComponentBase" && component.TypeId != "MyModStorageComponent") { continue;