[1.20.1] ComputerCraft shows max int cap as capacity for energy cores larger than tier 3
TrickShotMLG02 opened this issue ยท 1 comments
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.
store the following code in a script on the computer and run it
local pylon = peripheral.find("draconicevolution:energy_pylon")
print(pylon.getEnergyCapacity())
It works as expected.
Now with a Tier 4 Energy Core:
as we can see, for numbers larger as the max int, the code does not work.