mirror of
https://github.com/exituser/Brewery.git
synced 2026-09-17 07:49:03 +00:00
Fixed some warnings
This commit is contained in:
@@ -249,7 +249,7 @@ public class BIngredients {
|
||||
badStuff++;
|
||||
if (badStuff < ingredients.size()) {
|
||||
// when there are other ingredients
|
||||
quality -= count * (recipe.getDifficulty() / 2);
|
||||
quality -= count * (recipe.getDifficulty() / 2.0);
|
||||
continue;
|
||||
} else {
|
||||
// ingredients dont fit at all
|
||||
@@ -342,4 +342,4 @@ public class BIngredients {
|
||||
return mats;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user