Updates dependencies
All checks were successful
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
All checks were successful
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user