Jump to content

bazilshep

Vintarian
  • Posts

    3
  • Joined

  • Last visited

  • Days Won

    1

bazilshep last won the day on November 20 2021

bazilshep had the most liked content!

bazilshep's Achievements

Wolf Bait

Wolf Bait (1/9)

3

Reputation

  1. Created a PR with the change. See: https://github.com/l33tmaan/vs-expandedfoods/pull/6
  2. Oops, not sure I missed the giant github link on the first page. I made the change, built and tested and it looks like its working now.
  3. I dug into this a bit, decompiling the mod with ilspy. I hope you don't mind. I think it is in: ExpandedFoods.GuiDialogBlockEntityMixingBowl.SetupDialog() I think the offending line is: base.ClearComposers(); This modifies the dictionary GuiDialog.dialogComposers This dictionary is being enumerated by GuiDialog.OnMouseUp when SetupDialog() is called, so when SetupDialog() returns eventually the loop in GuiDialog.OnMouseUp continues to the next iteration throwing "System.InvalidOperationException: Collection was modified; enumeration operation may not execute." I think just removing the one offending line should fix the issue. I think the ClearComposers() is redundant, since you are assigning to base.SingleComposer below it. I hope this helps... EDIT:: Nevermind, I think the actual fix is to do a change as in the vintage story source code for 1.15.9. See: https://github.com/anegostudios/vssurvivalmod/blob/8eaabeccbc5e04a1e380af3550ba06d3d6eb6d8f/Gui/GuiDialogBlockEntityQuern.cs#L33
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.