Skip to content

Quick fix for error SplitOff with count <= 0#3

Open
Vovic wants to merge 1 commit intonullre:developfrom
Vovic:fix_SplitOff_error
Open

Quick fix for error SplitOff with count <= 0#3
Vovic wants to merge 1 commit intonullre:developfrom
Vovic:fix_SplitOff_error

Conversation

@Vovic
Copy link
Copy Markdown
Contributor

@Vovic Vovic commented Aug 6, 2021

System.ArgumentException: SplitOff with count <= 0
Parameter name: count
at Verse.Thing.SplitOff (System.Int32 count) [0x00004] in <7927e938de4c4089b4add4215e58d5b1>:0
at Verse.ThingWithComps.SplitOff (System.Int32 count) [0x00000] in <7927e938de4c4089b4add4215e58d5b1>:0
at NR_AutoMachineTool.Building_AutoMachineTool+<>c.b__47_2 (NR_AutoMachineTool.Building_AutoMachineTool+ThingAmount t) [0x00000] in <74570a4a7a2e49b3b78d778391fd1443>:0
at System.Linq.Enumerable+SelectListIterator2[TSource,TResult].ToList () [0x0002a] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable1[T] source) [0x0001f] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at NR_AutoMachineTool.Building_AutoMachineTool.b__47_1 (NR_AutoMachineTool.Utilities.Tuple2[T1,T2] tuple) [0x00037] in <74570a4a7a2e49b3b78d778391fd1443>:0 at NR_AutoMachineTool.Utilities.Option1[T].Select[TO] (System.Func2[T,TResult] func) [0x0000e] in <74570a4a7a2e49b3b78d778391fd1443>:0 at NR_AutoMachineTool.Building_AutoMachineTool.TryStartWorking (NR_AutoMachineTool.Building_AutoMachineTool& target, System.Single& workAmount) [0x0004b] in <74570a4a7a2e49b3b78d778391fd1443>:0 at NR_AutoMachineTool.Building_Base1[T].Ready () [0x0003a] in <74570a4a7a2e49b3b78d778391fd1443>:0
at NR_AutoMachineTool.Building_BaseRange`1[T].Ready () [0x00000] in <74570a4a7a2e49b3b78d778391fd1443>:0
at NR_AutoMachineTool.Building_AutoMachineTool.Ready () [0x00006] in <74570a4a7a2e49b3b78d778391fd1443>:0
at NR_AutoMachineTool.MapTickManager.Exec (System.Action act) [0x00000] in <74570a4a7a2e49b3b78d778391fd1443>:0

System.ArgumentException: SplitOff with count <= 0
Parameter name: count
  at Verse.Thing.SplitOff (System.Int32 count) [0x00004] in <7927e938de4c4089b4add4215e58d5b1>:0
  at Verse.ThingWithComps.SplitOff (System.Int32 count) [0x00000] in <7927e938de4c4089b4add4215e58d5b1>:0
  at NR_AutoMachineTool.Building_AutoMachineTool+<>c.<TryStartWorking>b__47_2 (NR_AutoMachineTool.Building_AutoMachineTool+ThingAmount t) [0x00000] in <74570a4a7a2e49b3b78d778391fd1443>:0
  at System.Linq.Enumerable+SelectListIterator`2[TSource,TResult].ToList () [0x0002a] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
  at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
  at NR_AutoMachineTool.Building_AutoMachineTool.<TryStartWorking>b__47_1 (NR_AutoMachineTool.Utilities.Tuple`2[T1,T2] tuple) [0x00037] in <74570a4a7a2e49b3b78d778391fd1443>:0
  at NR_AutoMachineTool.Utilities.Option`1[T].Select[TO] (System.Func`2[T,TResult] func) [0x0000e] in <74570a4a7a2e49b3b78d778391fd1443>:0
  at NR_AutoMachineTool.Building_AutoMachineTool.TryStartWorking (NR_AutoMachineTool.Building_AutoMachineTool& target, System.Single& workAmount) [0x0004b] in <74570a4a7a2e49b3b78d778391fd1443>:0
  at NR_AutoMachineTool.Building_Base`1[T].Ready () [0x0003a] in <74570a4a7a2e49b3b78d778391fd1443>:0
  at NR_AutoMachineTool.Building_BaseRange`1[T].Ready () [0x00000] in <74570a4a7a2e49b3b78d778391fd1443>:0
  at NR_AutoMachineTool.Building_AutoMachineTool.Ready () [0x00006] in <74570a4a7a2e49b3b78d778391fd1443>:0
  at NR_AutoMachineTool.MapTickManager.Exec (System.Action act) [0x00000] in <74570a4a7a2e49b3b78d778391fd1443>:0
@nullre nullre changed the base branch from master to develop August 8, 2021 01:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant