more fixes to make sure nothing working wrong on game

This commit is contained in:
2025-09-29 23:34:17 +08:00
parent 1d11ba90bd
commit 9d9a12c1af
14 changed files with 39 additions and 205 deletions
+1 -1
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;