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

@@ -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);
}
}