diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/loaders/recipe/RecipeLoader_AlgaeFarm.java b/src/main/java/gtPlusPlus/xmod/gregtech/loaders/recipe/RecipeLoader_AlgaeFarm.java index 77b0765212..7ca8d4d78e 100644 --- a/src/main/java/gtPlusPlus/xmod/gregtech/loaders/recipe/RecipeLoader_AlgaeFarm.java +++ b/src/main/java/gtPlusPlus/xmod/gregtech/loaders/recipe/RecipeLoader_AlgaeFarm.java @@ -50,7 +50,7 @@ public static GT_Recipe getTieredRecipeFromCache(int aTier, boolean aCompost) { Logger.INFO("Using recipe with index of " + aIndex + ". " + aComp); return aTemp.get(aIndex); } - + public static int compostForTier(int aTier) { return aTier > 1 ? (int) Math.min(64, Math.pow(2, aTier - 1)) : 1; } @@ -83,9 +83,7 @@ private static GT_Recipe generateBaseRecipe(boolean aUsingCompost, int aTier) { if (aUsingCompost) { // Make it use 4 compost per tier if we have some available // Compost consumption maxes out at 1 stack per cycle - ItemStack aCompost = ItemUtils.getSimpleStack( - AgriculturalChem.mCompost, - compostForTier(aTier)); + ItemStack aCompost = ItemUtils.getSimpleStack(AgriculturalChem.mCompost, compostForTier(aTier)); aInputs = new ItemStack[] { aCompost }; // Boost Tier by one if using compost so it gets a speed boost aTier++;