mirror of
https://github.com/songoda/EpicEnchants.git
synced 2024-11-13 06:07:41 +01:00
fix grouping of appliable item types
This commit is contained in:
parent
5da802679d
commit
01c202a435
@ -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()));
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user