Botania

Botania

133M Downloads

Full Crafty Crate keeps trying to match recipes every tick

Hubry opened this issue ยท 1 comments

commented
commented

suggested fix:

  • cache "failed match" state in a flag
  • bail early if the flag is true
  • clear that flag on /reload or when the backing inventory changes in any way

Need a way of clearing the flag every /reload. Maybe a global epoch/generation counter that is incremented each reload, and the failed match flag also stores the value of the epoch when the failure was determined.