mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-22 05:02:39 +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
@@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user