mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-21 20:52:26 +00:00
quick fixes : enhanced for loop
This commit is contained in:
1 parent
59f3b5b72a
commit
83f54f1e97
33 files changed
+74
-96
No files matched your search
@@ -121,8 +121,7 @@ public class RecipeHandlerAlloying extends RecipeHandlerBase {
|
||||
|
||||
@Override
|
||||
public void loadUsageRecipes(FluidStack ingredient) {
|
||||
for (Iterator<AlloyMix> i = Smeltery.getAlloyList().iterator(); i.hasNext(); ) {
|
||||
AlloyMix recipe = i.next();
|
||||
for (AlloyMix recipe : Smeltery.getAlloyList()) {
|
||||
for (FluidStack liquid : recipe.mixers) {
|
||||
if (areFluidsEqual(liquid, ingredient) && !recipe.mixers.isEmpty()) {
|
||||
this.arecipes.add(new CachedAlloyingRecipe(recipe));
|
||||
|
||||
Reference in new issue
Block a user