Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix ic2 voltage tier #53

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

wilkemeyer
Copy link

Fixed IC2 API Usage:

IC2's VoltageTier begins at 1 => LV, .. 2 => MV, 3 => HV, 4 => EV .. etc

PowerConverters's voltageIndex begins at 0 => LV, 2 => MV, 3 => HV .. etc

So Powerconverters will report the wrong Voltage Tier (HV Consumer gets reported as MV Consumer .. etc)

Which may result in unexpected behavior (especially when using Aroma1997's Uncomplication Mod which restores the old E-Net @ Current IC2)

IC2's Api expects LV=>1, MV=>2, HV=>3...
PowerConverter's VoltageIndex begins as 0=>LV, 1=>MV, 2=>HV ..

which resulted in wrong Voltage Tier has been repoted to ic2.
@MarkL4YG
Copy link

This does not seem to be merged in the near future ._.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants