quick fixes : enhanced for loop

This commit is contained in:
Alexdoru authored and Jason Mitchell committed 2023-01-28 18:02:41 -08:00
1 parent 59f3b5b72a
commit 83f54f1e97
33 files changed
+74 -96

No files matched your search

@@ -635,14 +635,14 @@ public class TinkerTools {
}
}
} else {
for (int mat = 0; mat < nonMetals.length; mat++) {
for (int nonMetal : nonMetals) {
for (int meta = 0; meta < TinkerTools.patternOutputs.length; meta++) {
if (TinkerTools.patternOutputs[meta] != null)
TConstructRegistry.addPartMapping(
TinkerTools.woodPattern,
meta + 1,
nonMetals[mat],
new ItemStack(TinkerTools.patternOutputs[meta], 1, nonMetals[mat]));
nonMetal,
new ItemStack(TinkerTools.patternOutputs[meta], 1, nonMetal));
}
}
}