Tempad

Tempad

1M Downloads

[Bug]: Fails to subtract energy costs over 1024

PeterPgit opened this issue ยท 1 comments

commented

Bug Description

When setting timedoorFuelAmount to any value over 1024, only 1024 fuel is removed from the tempad.

How to Reproduce?

Set "timedoorFuelAmount" and "timedoorFuelCapacity" to values >1024 and attempt to use the tempad. Only 1024 fuel will be removed.

Expected Behavior

Function onTimedoorOpen should properly subtract fuel cost defined within the config instead of being limited to 1024.

Version

2.2.4

Mod Loader Version

1.20.1

Mod Loader

NeoForge

Logs or additional context

No response

Code of Conduct

  • I have searched the issue tracker and confirmed that the issue has not been reported
  • I have checked the FAQ (if one is present) and my issue is not listed
  • I have verified that I am using the latest version of the mod
  • I have verified that I have installed all the required dependencies for the mod
  • I have verified that I do not have Optifine installed. We will close issues if we detect Optifine is in your pack. We cannot fix Optifine issues. Please do not report issues with Optifine present.
commented

Fixed in version 2.3.0