We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf2e397 commit 806dfd2Copy full SHA for 806dfd2
src/main/java/gregtech/api/unification/material/properties/OreProperty.java
@@ -133,11 +133,7 @@ public void verifyProperty(MaterialProperties properties) {
133
134
if (directSmeltResult != null) directSmeltResult.getProperties().ensureSet(PropertyKey.DUST, true);
135
if (washedIn != null) washedIn.getProperties().ensureSet(PropertyKey.FLUID, true);
136
- if (!separatedInto.isEmpty()) {
137
- for (Material m : separatedInto) {
138
- m.getProperties().ensureSet(PropertyKey.DUST, true);
139
- }
140
+ separatedInto.forEach(m -> m.getProperties().ensureSet(PropertyKey.DUST, true));
141
oreByProducts.forEach(m -> m.getProperties().ensureSet(PropertyKey.DUST, true));
142
}
143
0 commit comments