MineTweaker RecipeMaker

MineTweaker RecipeMaker

12M Downloads

[Crash] NoMoreRecipeConflict GUIButton CME

MokahTGS opened this issue ยท 2 comments

commented

Getting a crash trying to make a recipe for the Ancient Scroll item from Terraqueous mod:

http://pastebin.com/5C3wvWCh

commented

I'm pretty sure that mod is doing something its not supposed to, but I'll try and see if I can fix it.

commented

The fault is with NoMoreRecipeConflict I believe.
That mod is kind off a mess TBH, but I believe this is what's happening:

  • MTRM tells MT to reload the recipes when you change something.
  • NoMoreRecipeConflict/RecipeHandler loops over the entire recipe list on rendering events.

And you can't do both of those at the same time. Since MTRM is doing nothing wrong, and NoMoreRecipeConflict/RecipeHandler is, I'm going to close this.

(The solution I think would be for the mod to use caching and not re-calculate the entire thing every single time the button renders, but only once per client tick. This happens in the same thread as the recipe handler stuff, I think, so it can't happen at the same time.)