Skip to content

Commit

Permalink
Remove needless lambda to attempt to avoid forge deobf transformer is…
Browse files Browse the repository at this point in the history
…sues
  • Loading branch information
thiakil committed Apr 30, 2018
1 parent 74be3c6 commit 92914f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/mekanism/common/integration/MekanismHooks.java
Expand Up @@ -261,7 +261,7 @@ public void registerAE2Recipes(){
if (crystalSeed.isPresent()){
NonNullList<ItemStack> seeds = NonNullList.create();
crystalSeed.get().getSubItems(CreativeTabs.SEARCH, seeds);//there appears to be no way to get this via api, so fall back to unloc names
seeds.forEach(stack->{
for (ItemStack stack : seeds) {
String unloc = crystalSeed.get().getUnlocalizedName(stack);
if (unloc.endsWith("certus") && pureCertus.isPresent()){
RecipeHandler.addEnrichmentChamberRecipe(stack, pureCertus.get().copy());
Expand All @@ -270,7 +270,7 @@ public void registerAE2Recipes(){
} else if (unloc.endsWith("fluix") && pureFluix.isPresent()){
RecipeHandler.addEnrichmentChamberRecipe(stack, pureFluix.get().copy());
}
});
}
}

} catch (Exception e){
Expand Down

0 comments on commit 92914f6

Please sign in to comment.