Refined Storage

Refined Storage

115M Downloads

Change count buttons break when using Max in autocraft task creation screen when it returns 0

jonatjano opened this issue ยท 0 comments

commented

Describe the bug

When using the Max button in the autocrafting task creation screen, if the max is 0, the buttons to change the quantity to craft doesn't respond until the quantity is changed manually

How can we reproduce this bug or crash?

  1. create a network with one autocrafter containing a pattern and a grid
  2. ensure that you don't have the resources to fulfill the pattern
  3. open the task creation screen in the grid
  4. click the Max button, it should set crafting amount to 0
  5. click on the other buttons (+/-1, +/-10, +/-64), see that they don't work
  6. edit the quantity field manually
  7. click again on the button to change the quantity, see that they work again

What Minecraft version is this happening on?

Minecraft 1.21.1

What NeoForge or Fabric version is this happening on?

21.1.115

What Refined Storage version is this happening on?

2.0.0 milestone 4.13

Relevant log output