Skip to content
This repository has been archived by the owner on May 26, 2024. It is now read-only.

Commit

Permalink
Spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonodonozym committed Aug 22, 2023
1 parent 02bc80f commit 8d6d599
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -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++;
Expand Down

0 comments on commit 8d6d599

Please sign in to comment.