Skip to content

Commit

Permalink
small cleanup on OreProperty
Browse files Browse the repository at this point in the history
  • Loading branch information
serenibyss committed Aug 13, 2021
1 parent bf2e397 commit 806dfd2
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,7 @@ public void verifyProperty(MaterialProperties properties) {

if (directSmeltResult != null) directSmeltResult.getProperties().ensureSet(PropertyKey.DUST, true);
if (washedIn != null) washedIn.getProperties().ensureSet(PropertyKey.FLUID, true);
if (!separatedInto.isEmpty()) {
for (Material m : separatedInto) {
m.getProperties().ensureSet(PropertyKey.DUST, true);
}
}
separatedInto.forEach(m -> m.getProperties().ensureSet(PropertyKey.DUST, true));
oreByProducts.forEach(m -> m.getProperties().ensureSet(PropertyKey.DUST, true));
}
}

0 comments on commit 806dfd2

Please sign in to comment.