You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ElectricGenerator doesn't properly split energy between consumers #55
Attaching any energy acceptors (machines, capacitor bank) to multiple sides of any generator causes extra RF to be generated. For example, burning a block of coal in a Petrified Fuel Generator with an EnderIO capacitor bank on the left and right sides of the generator will result in 800rf/t going into one bank and 400rf/t going into the other. The same thing happens when using more capacitor banks, with a third bank receiving 266rf/t, fourth receiving 200rf/t etc.
I'm not well versed with modding Minecraft but it seems that the issue is at line 198 in ElectricGenerator.kt, consumerCount is decremented which increases perConsumer each time round the loop. It looks like perConsumer should just be calculated once before the loop, and then consumerCount can be removed.
Activity