1
0
mirror of https://github.com/soarqin/DSP_Mods.git synced 2026-02-05 02:22:21 +08:00

more fixes to make sure nothing working wrong on game

This commit is contained in:
2025-09-21 18:21:46 +08:00
parent 475d667964
commit 9719b9acca
14 changed files with 39 additions and 205 deletions

View File

@@ -495,7 +495,7 @@ public class FactoryPatch : PatchImpl<FactoryPatch>
}
[HarmonyPostfix]
[HarmonyPatch(typeof(StorageComponent), "GetItemCount", typeof(int))]
[HarmonyPatch(typeof(StorageComponent), nameof(StorageComponent.GetItemCount), typeof(int))]
public static void GetItemCountPatch(StorageComponent __instance, int itemId, ref int __result)
{
if (__result > 99) return;