fix grouping of appliable item types

This commit is contained in:
Aurora 2020-08-13 18:27:13 +02:00
parent 5da802679d
commit 01c202a435
No known key found for this signature in database
GPG Key ID: 89839F67B53656AD
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ public class ItemGroup {
for (int i = 0; i < 5; i++) {
getGroup(materials).ifPresent(group -> {
groups.add(group.getName());
materials.removeAll(getMaterials(group));
materials.removeAll(getMaterials(group).stream().map(e -> CompatibleMaterial.getMaterial(e)).collect(Collectors.toList()));
});
}