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

fix bigbro power generate #794

Merged
merged 3 commits into from
Feb 12, 2025
Merged

fix bigbro power generate #794

merged 3 commits into from
Feb 12, 2025

Conversation

YueLengM
Copy link
Contributor

@YueLengM YueLengM commented Feb 12, 2025

fix #644
fix #792

顺便给 GUI 里的产出值加了千分位
以及修复三录仪扫出来的产电值显示没转换到EU/t的问题

@@ -1514,8 +1515,7 @@ public CheckRecipeResult checkProcessing_EM() {
result = CheckRecipeResultRegistry.NO_RECIPE;
}
if (result == CheckRecipeResultRegistry.SUCCESSFUL) {
long lv = output.longValue();
lEUt = lv > 0 ? lv : Long.MAX_VALUE;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

太阳能不工作的时候output是0就变成产max了

@Nxer Nxer merged commit be45281 into Nxer:main Feb 12, 2025
1 check passed
@YueLengM YueLengM deleted the bigbrofix branch February 12, 2025 23:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants