PneumaticCraft: Repressurized

PneumaticCraft: Repressurized

50M Downloads

Unable to enter decimal numbers with command as separator

ChristianLW opened this issue ยท 0 comments

commented

Describe the bug

If the operating system region settings have the decimal separator set to comma and not a dot, you aren't able to input decimal numbers into the number input fields for the simple mode of expanded modules

How to reproduce the bug

Have your operating system set to use comma as a decimal separator

  1. Place a Regulator Module with a Module Expansion Card
  2. Open the GUI and make sure Advanced Mode is not on
  3. Try to enter a decimal number (e.g. 3,4)
    It's impossible to actually enter the comma

Expected behavior

Either it's possible to actually enter a comma,
or the locale used is invariant/English such that numbers are parsed and stringified using dots and not commas

Additional details

No response

Which Minecraft version are you using?

1.20

Which version of PneumaticCraft: Repressurized are you using?

6.0.13

Crash log

No response