Industrial Foregoing

Industrial Foregoing

95M Downloads

[1.16] Latex Processing Unit does not fully use supplied energy

CharlieQiu2017 opened this issue ยท 0 comments

commented

DO NOT REPORT AN ISSUE IF YOU HAVEN'T TESTED THE ISSUE WITH THE LATEST VERSION IN CURSEFORGE

Industrial Foregoing Version: industrial-foregoing-1.16.5-3.2.10.2-d316328

Titanium Version: titanium-1.16.5-3.2.8

Crashlog If Applicable (Upload to pastebin/gist): N/A

Suppose the Latex Processing Unit takes 1,000 FE to produce one tiny dry plastic. If I give it exactly 1,000 FE, it does not produce anything but stops at the last tick, abandoning all work that consumed the first 990 FE.

In src/main/java/com/buuz135/industrial/block/tile/IndustrialProcessingTile.java line 78,
getEnergyStorage().getEnergyStored() > getTickPower()
should be changed to
getEnergyStorage().getEnergyStored() >= getTickPower()