Config for Capacity on Tesla coil is Ignored
Soaryn opened this issue ยท 2 comments
Describe the bug
When trying to set the Tesla coil value for capacity in the config to something like 512, the value is ignored and keeps 4096
To Reproduce
Configure the tesla coil capacity
Additional context
After further investigation, I believe it is taking the charge rate for the capacity.
This is intended behavior:
CAPACITY = Math.max(Config.TESLA_COIL_CAPACITY.get(), CHARGE_RATE)
This is to ensure it is able to charge at the intended rate.
In fact I'm going to update it to include the recipe charge rate too:
CAPACITY = Util.max(Config.TESLA_COIL_CAPACITY.get(), CHARGE_RATE, CHARGE_RATE_RECIPE),