Applied Energistics 2

Applied Energistics 2

137M Downloads

Using any math expression with division in crafting UI Shows incorrect error.

Ianthasys opened this issue ยท 0 comments

commented

Describe the bug

In the crafting "Select Amount" UI, using any mathematical expression with division (ie: "10/2") will give red text and a tooltip saying "Must be whole number", even if the computed amount is a whole number. Note, the user can still hit the next button to start the craft anyways and it still works.

How to reproduce the bug

Open any auto-craft to the amount specification page
Enter any math operation using a division operator ( / )
profit?

Expected behavior

Should show white text and no error.

Additional details

Bug was found in v15.0.15 on forge in the current (as of posting) version of ATM9, but was reproduced in a clean instance on latest AE2/neoforge version as well. (16.0.2)

image

Which minecraft version are you using?

1.20

On which mod loaders does it happen?

Forge

Crash log

https://mclo.gs/UVZW4FY