Skip to content

Commit 806dfd2

Browse files
committed
small cleanup on OreProperty
1 parent bf2e397 commit 806dfd2

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/main/java/gregtech/api/unification/material/properties/OreProperty.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,7 @@ public void verifyProperty(MaterialProperties properties) {
133133

134134
if (directSmeltResult != null) directSmeltResult.getProperties().ensureSet(PropertyKey.DUST, true);
135135
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-
}
136+
separatedInto.forEach(m -> m.getProperties().ensureSet(PropertyKey.DUST, true));
141137
oreByProducts.forEach(m -> m.getProperties().ensureSet(PropertyKey.DUST, true));
142138
}
143139
}

0 commit comments

Comments
 (0)