mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 03:49:29 +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
@@ -965,10 +965,10 @@ public class TinkerWorld {
|
||||
TinkerTools.chiselHead
|
||||
};
|
||||
|
||||
for (int partIter = 0; partIter < partTypes.length; partIter++) {
|
||||
for (int typeIter = 0; typeIter < validTypes.length; typeIter++) {
|
||||
for (Item partType : partTypes) {
|
||||
for (int validType : validTypes) {
|
||||
TinkerWorld.tinkerHouseChest.addItem(new WeightedRandomChestContent(
|
||||
new ItemStack(partTypes[partIter], 1, validTypes[typeIter]), 1, 1, 15));
|
||||
new ItemStack(partType, 1, validType), 1, 1, 15));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user