GoToNightmare / DSP-PlanetwideMining

MIT License
5 stars 2 forks source link

Error in game version 0.10.30.22292 #18

Closed starfi5h closed 4 months ago

starfi5h commented 4 months ago

The update renames the method ArrageParametersArray to ArrangeParametersArray, thus causes the error

An error has occurred! Game version 0.10.30.22292
3 Mods used: [ErrorAnalyzer1.1.0] [Script Engine10.0] [PlanetwideMining0.1] 
System.MissingMethodException: void PrebuildData.ArrageParametersArray()
  at BuildTool_Click.CheckBuildConditions () [0x00005] in0 
  at BuildTool_Click._OnTick (System.Int64 time) [0x00038] in0 
  at BuildTool._GameTick (System.Int64 time) [0x000cf] in0 
== Mod patches on the stack ==
CheckBuildConditions(Prefix): static bool PlanetwideMining.PatchMiners::Prefix(BuildTool_Click __instance, Boolean& __result, Int32[]& ____tmp_ids, UnityEngine.Collider[]& ____tmp_cols, Int32& ___tmpInhandId, Int32& ___tmpInhandCount, StorageComponent& ___tmpPackage, Int32& ____overlappedCount, Int32[]& ____overlappedIds)
GoToNightmare commented 4 months ago

Thank you. Fixed.