From e95cb7988f2261109c8d052670c46064627e87ce Mon Sep 17 00:00:00 2001 From: Mike Dude Date: Sat, 21 Nov 2026 08:59:29 -0700 Subject: [PATCH] Add MES storage to the existing mod storage component on prefab grids and blocks --- .../Spawning/Manipulation/StorageTools.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Data/Scripts/ModularEncountersSystems/Spawning/Manipulation/StorageTools.cs b/Data/Scripts/ModularEncountersSystems/Spawning/Manipulation/StorageTools.cs index e2d07c7f..410f5723 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;