Prevents filters from matching non-reforge-able materials
This commit is contained in:
parent
a5ae3cb295
commit
913cc5736e
@ -229,7 +229,7 @@ public enum SmithPreset {
|
||||
*/
|
||||
private List<Material> getMaterialsEndingWith(String end) {
|
||||
List<Material> matchedMaterials = new ArrayList<>();
|
||||
for (Material material : Material.values()) {
|
||||
for (Material material : ItemHelper.getAllReforgeAbleMaterials()) {
|
||||
if (!material.name().startsWith("LEGACY") && material.name().endsWith(end)) {
|
||||
matchedMaterials.add(material);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user