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 divide by zero #207

Merged
merged 1 commit into from
May 29, 2024
Merged

Conversation

chochem
Copy link
Member

@chochem chochem commented May 29, 2024

@chochem chochem requested a review from a team May 29, 2024 10:12
@Dream-Master Dream-Master merged commit f7b15d0 into GTNewHorizons:master May 29, 2024
1 check passed
@Pilad
Copy link

Pilad commented May 29, 2024

fix a division by zero. fixes GTNewHorizons/GT-New-Horizons-Modpack#16399

replaces GTNewHorizons/GT5-Unofficial#2629

Below is the same code. Doesn't it need to be replaced with what you did?

final int filledTanks = (int) (totalExtracted / fluidPerContainer);

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.

Division by zero crash - AE2 fluid crafting
4 participants