Draconic Evolution

Draconic Evolution

77M Downloads

[1.20.1] ComputerCraft shows max int cap as capacity for energy cores larger than tier 3

TrickShotMLG02 opened this issue ยท 1 comments

commented

Base information

  • Minecraft version: 1.20.1
  • Mod version: 3.1.2.583
  • Minecraft Forge version: 47.2.20
  • Mod Pack: (if applicable) ATM9 0.3.0

Crash report

None

Description / steps to reproduce

Set up an energy core tier 1 and activate it. Place a pylon with a computer next to it.
image

store the following code in a script on the computer and run it

local pylon = peripheral.find("draconicevolution:energy_pylon")
print(pylon.getEnergyCapacity())

image
image

It works as expected.

Now with a Tier 4 Energy Core:
image
image

as we can see, for numbers larger as the max int, the code does not work.

commented

never mind. new version fixes the problem