Fixed some warnings

This commit is contained in:
Sn0wStorm
2018-10-30 15:59:56 +01:00
parent 72d13b30dd
commit 9bb5936d0d
10 changed files with 33 additions and 32 deletions
+2 -2
View File
@@ -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;
}
}
}