mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-22 13:09:53 +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
@@ -11,8 +11,8 @@ public abstract class ItemModTypeFilter extends ItemModifier {
|
||||
super(items, effect, dataKey);
|
||||
assert items.length == values.length : "Itemstacks and their values for tool modifiers must be the same length";
|
||||
this.increase = new ArrayList<>();
|
||||
for (int i = 0; i < values.length; i++) {
|
||||
increase.add(values[i]);
|
||||
for (int value : values) {
|
||||
increase.add(value);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user