Updates dependencies
All checks were successful
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good

This commit is contained in:
2023-01-09 05:06:33 +01:00
parent ea54492ccf
commit 7d940ee334
2 changed files with 5 additions and 5 deletions

View File

@ -223,13 +223,13 @@ public enum SmithPreset {
* @return <p>The resulting materials</p>
*/
private List<Material> getMaterialsEndingWith(String end) {
List<Material> swords = new ArrayList<>();
List<Material> matchedMaterials = new ArrayList<>();
for (Material material : Material.values()) {
if (!material.name().startsWith("LEGACY") && material.name().endsWith(end)) {
swords.add(material);
matchedMaterials.add(material);
}
}
return swords;
return matchedMaterials;
}
/**