Skip to content

Commit

Permalink
spotlessApply
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub GTNH Actions committed Sep 25, 2024
1 parent 8234d61 commit 45e7766
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/main/java/binnie/core/genetics/Tolerance.java
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package binnie.core.genetics;

import net.minecraft.util.MathHelper;

import forestry.api.genetics.AlleleManager;
import forestry.api.genetics.EnumTolerance;
import forestry.api.genetics.IAllele;
import net.minecraft.util.MathHelper;

public enum Tolerance {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ private static Collection<ItemStack> getRecipeResult(ItemStack output) {
}

if (iRecipe instanceof ShapelessOreRecipe shapelessOre) {
if (shapelessOre.getInput().size() != 1 || !(shapelessOre.getInput().get(0) instanceof ItemStack input)) {
if (shapelessOre.getInput().size() != 1
|| !(shapelessOre.getInput().get(0) instanceof ItemStack input)) {
continue;
}

Expand Down

0 comments on commit 45e7766

Please sign in to comment.