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
The method mods/railcraft/api/electricity/IElectricMinecart$ChargeHandler.balance simply splits the charge of two handlers exactly evenly between them, with no regard for the capacity of the two handlers, potentially leading to a situation where a very large capacity handler and a low capacity handler are made to balance with each other, massively overflowing the smaller one.
The text was updated successfully, but these errors were encountered:
This was considered in the design and determined that the cpu cycles that the checks cost wasn't worth the result. Additionally, ChargeHandler is final, so maxCapacity is always 10000.
Besides, the plan atm is to trash this code entirely and redesign the system from scratch.
The method
mods/railcraft/api/electricity/IElectricMinecart$ChargeHandler.balance
simply splits the charge of two handlers exactly evenly between them, with no regard for the capacity of the two handlers, potentially leading to a situation where a very large capacity handler and a low capacity handler are made to balance with each other, massively overflowing the smaller one.The text was updated successfully, but these errors were encountered: